Perhaps `newaliases` needs to be re-run? First thing that comes to my mind.
On 10/27/2010 10:12 AM, Brian O'Mahony wrote:
> Ive just P2V'd a Debian 4.0 box to our VM cluster, as im planning to move over to a virtual environment around Christmas time as the Hardware is currently out of date.
>> Everything is working fine, I have renamed the server and it works fine. Except the emails from cronjobs don't arrive to my email account.
>> Upon reading /var/log/exim4/mainlog, I notice that the mails are being sent from the root account *TO* the root account, via the smtp server, which of course is wrong.
>> 2010-10-27 15:20:18 1PB6rB-00010j-S1 <= root at buzz1.curamsoftware.com U=root P=local S=842
> 2010-10-27 15:20:18 1PB6rB-00010j-S1 => root at buzz1.curamsoftware.com R=smarthost T=remote_smtp_smarthost
>> Basically it seems it has stopped reading the /etc/aliases file.
>> # /etc/aliases
> mailer-daemon: postmaster
> postmaster: root
> nobody: root
> hostmaster: root
> usenet: root
> news: root
> webmaster: root
> www: root
> ftp: root
> abuse: root
> noc: root
> security: root
> root: cronjobs at curamsoftware.com>> Anyone have any ideas on how to resolve it?
>>> The information in this email is confidential and may be legally privileged.
> It is intended solely for the addressee. Access to this email by anyone else
> is unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken or omitted to be taken in reliance
> on it, is prohibited and may be unlawful. If you are not the intended
> addressee please contact the sender and dispose of this e-mail. Thank you.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!