Found out that it was what everyone was suggesting. When I made the Staff distribution list from a standard list to a dynamic list, something got messed up. I went into OWA, brought up the nickname cache (little pop-up menu when typing in the address in a new mail) and hit delete on the name, it removed it from the nickname cache. When they tried to send again, it sent to the correct list.
Thanks for everyone's help!
First Part
The exim system requires that the spool directories and the log directories be writable by the exim user (the user the process runs as). The simple fix for exim would have been:
chown -R exim:exim /var/spool/exim /var/log/exim
Second Part
Typically there is a /usr/sbin/sendmail wrapper which is really just a symlink to whatever provides "sendmail compatibility" on your system. When you installed exim, it created a symlink /usr/sbin/sendmail which ended up pointing to /usr/sbin/exim. [1] When you deleted the exim package, it removed the /usr/sbin/sendmail link. When cron starts up a job, it starts it and pipes it to /usr/sbin/sendmail. Since it no longer exists, the job fails to start completely.
The preferred fix is to use the "alternatives" system to update each of the mta components that the "alternatives" system manages:
# ls /etc/alternatives/ -l | grep mta
lrwxrwxrwx 1 root root 23 Aug 14 12:33 mta -> /usr/sbin/sendmail.exim
lrwxrwxrwx 1 root root 19 Aug 14 12:33 mta-mailq -> /usr/bin/mailq.exim
lrwxrwxrwx 1 root root 29 Aug 14 12:33 mta-mailqman -> /usr/share/man/man8/exim.8.gz
lrwxrwxrwx 1 root root 24 Aug 14 12:33 mta-newaliases -> /usr/bin/newaliases.exim
lrwxrwxrwx 1 root root 15 Aug 14 12:33 mta-pam -> /etc/pam.d/exim
lrwxrwxrwx 1 root root 19 Aug 14 12:33 mta-rmail -> /usr/bin/rmail.exim
lrwxrwxrwx 1 root root 19 Aug 14 12:33 mta-rsmtp -> /usr/bin/rsmtp.exim
lrwxrwxrwx 1 root root 18 Aug 14 12:33 mta-runq -> /usr/bin/runq.exim
lrwxrwxrwx 1 root root 22 Aug 14 12:33 mta-sendmail -> /usr/lib/sendmail.exim
# update-alternatives --config mta
There is 1 program that provides 'mta'.
Selection Command
-----------------------------------------------
*+ 1 /usr/sbin/sendmail.exim
Enter to keep the current selection[+], or type selection number:
If that doesn't work for you (because qmail didn't configure itself as part of the "alternatives" system, then the simplest fix is to manually create that symlink:
cd /usr/sbin; ln -s qmail sendmail
[1] Technically, the "alternatives" system manages and created a symlink /usr/sbin/sendmail which pointed to /etc/alternatives/mta, which is a symlink to /usr/sbin/sendmail.exim. That /usr/sbin/sendmail.exim is also just a symlink to /usr/sbin/exim.
Best Answer
Well, I found a similar problem on Unix.com forums, where someone was also receiving the dead.letter issue. Have you configured sendmail? If not, in the configuration file /etc/sendmail.cf, the line with DS must be modified and you must specified your mail server. You can add this server in the file /etc/host.
After the modification of your sendmail configuration, you restart the service :
refresh -s sendmail
or
stopsrc -s sendmail
startsrc -s sendmail -a "-bd"
HTH,
Rachel