root email delivery issue

Sander-Rob

Member
Jul 4, 2008
23
0
51
I'm setting up a new server, and have come across a problem.

I have all email for the root user, being delivered to [email protected].

This was working this morning, at which time the hostname was only the IP of the server.

After this, I updated the hostname to webhost01.mydomain.com, and installed CSF. Since then, mail delivery for the root user does not work, and I'm getting the following errors (/var/log/exim_mainlog) when mail for root is trying to be delivered.

2008-07-08 12:56:02 1KGJIA-0006iQ-2D <= [email protected] U=root P=local S=584
2008-07-08 12:56:02 1KGJIA-0006iQ-2D ** [email protected] R=fail_remote_domains: The mail server could not deliver mail to [email protected]. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
2008-07-08 12:56:02 1KGJIA-0006iS-4l <= <> R=1KGJIA-0006iQ-2D U=mailnull P=local S=1531
2008-07-08 12:56:02 1KGJIA-0006iS-4l failed to expand condition "${perl{checkspam2}}" for checkspam2 router: syntax error in Exim::expand_string argument: failed to open /etc/relayhostsusers for linear search: No such file or directory at /etc/exim.pl.local line 226.


2008-07-08 12:56:02 1KGJIA-0006iS-4l failed to expand condition "${perl{trackbandwidth}}" for trackbandwidth router: syntax error in Exim::expand_string argument: failed to open /etc/relayhostsusers for linear search: No such file or directory at /etc/exim.pl.local line 226.

2008-07-08 12:56:02 1KGJIA-0006iS-4l ** [email protected] R=fail_remote_domains: The mail server could not deliver mail to [email protected]. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.

2008-07-08 12:56:02 1KGJIA-0006iS-4l Frozen (delivery error message)
2008-07-08 12:56:02 1KGJIA-0006iQ-2D Completed
I'm hoping someone can send me in the right direction.
 

welo

Well-Known Member
Nov 11, 2002
71
0
156
Am in pretty much the same boat. I'm not getting notified of anything (logwatch, cpupdate, BFD/LFD etc.). If I could just track down which file is being written when updating via 'Change System Mail Preferences' in WHM, I might be able to figure it out. Ideas?
 

Sander-Rob

Member
Jul 4, 2008
23
0
51
In the order specified, give this a shot.

WHM >> Change System Mail Preferences

Set Cpanel to "root"
Nobody to Blank
and root to "your e-mail address"
 

jbourque

Member
Jul 18, 2008
10
0
51
It tried this and still no go. I have 2 servers configured them both the same way and my previous server works fine but my new server I just built does not work.

Thoughts?
 

jbourque

Member
Jul 18, 2008
10
0
51
Figured it out, I had my 2nd server pointing to my main DNS server which did not have a dns entry for the new server therefore the email was not routing properly.
:D