Carlosinfl
Loves the juice
- Joined
- Sep 25, 2002
- Messages
- 6,633
Guys - I have 4 servers on my LAN that were built by a previous Linux administrator and every morning when I come to work I have any and all emails that were mailed from logwatch or cron to [email protected] sent to my company email address and I have no idea how the servers are re-directing email from root to [email protected]. I have been looking everywhere!
I checked /etc/aliases
I ran the newaliases command in case the text file and .db file were not in sync
I checked /root to make sure there is no ".forward" file
I checked /etc/mail/sendmail.cf for the MAILTO = root
I checked crontab -l to make sure no crazy scripts are running
I don't think this is a cront or logwatch config parameter because when I run the "mail root" command and I send an email from root to root, it goes to my company email address and that has nothing to do with cron or logwatch so something in sendmail or in the Linux system is telling sendmail to translate root = [email protected].
Anyone have any possible clue how the previous admin could have set this up? I am so confused and have no idea at this point any more.
The system = RHEL 4.5 ES 32 bit
MTA = Sendmail
I checked /etc/aliases
I ran the newaliases command in case the text file and .db file were not in sync
I checked /root to make sure there is no ".forward" file
I checked /etc/mail/sendmail.cf for the MAILTO = root
I checked crontab -l to make sure no crazy scripts are running
I don't think this is a cront or logwatch config parameter because when I run the "mail root" command and I send an email from root to root, it goes to my company email address and that has nothing to do with cron or logwatch so something in sendmail or in the Linux system is telling sendmail to translate root = [email protected].
Anyone have any possible clue how the previous admin could have set this up? I am so confused and have no idea at this point any more.
The system = RHEL 4.5 ES 32 bit
MTA = Sendmail