emails to root bounce -- site with same domain as hostname

dcusimano

Member
Feb 24, 2008
16
5
53
Toronto, Ontario, Canada
Emails generated internally by my server that are addressed to the root (i.e.: [email protected]) are bouncing and not getting to the server's root email account.

My server's hostname is ns.bime.com and I also have a website on the server with the domain bime.com (I previously went into cPanel and added a new website "bime.com" so that www.bime.com shows a website).

The log file /var/log/exim_mainlog shows that the server is trying to send to [email protected] but bouncing. I assume this is happening because the website bime.com has no subdomain "ns.bime.com" and thus there's no email server to connect to. What do I change to get [email protected] to go to the root email account ("/var/spool/mail/root") of the server?

Excerpt of /var/log/exim_mainlog showing cronjob email and bounce:

--------

[[email protected] new]# egrep -e "(1JTL9q-0003m8-2q|1JTL9q-0003mC-7p)" /var/log/exim_mainlog
2008-02-24 13:01:02 1JTL9q-0003m8-2q <= [email protected] U=root P=local S=1175 T="Cron <[email protected]> run-parts /etc/cron.hourly"
2008-02-24 13:01:02 cwd=/var/spool/exim 4 args: /usr/sbin/exim -odi -Mc 1JTL9q-0003m8-2q
2008-02-24 13:01:02 1JTL9q-0003m8-2q User 0 set for local_delivery transport is on the never_users list
2008-02-24 13:01:02 1JTL9q-0003m8-2q == [email protected] R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
2008-02-24 13:01:02 1JTL9q-0003m8-2q ** [email protected]: retry timeout exceeded
2008-02-24 13:01:02 cwd=/var/spool/exim 8 args: /usr/sbin/exim -odi -t -oem -oi -f <> -E1JTL9q-0003m8-2q
2008-02-24 13:01:02 1JTL9q-0003mC-7p <= <> R=1JTL9q-0003m8-2q U=mailnull P=local S=1960 T="Mail delivery failed: returning message to sender"
2008-02-24 13:01:02 cwd=/var/spool/exim 4 args: /usr/sbin/exim -odi -Mc 1JTL9q-0003mC-7p
2008-02-24 13:01:02 1JTL9q-0003mC-7p User 0 set for local_delivery transport is on the never_users list
2008-02-24 13:01:02 1JTL9q-0003mC-7p == [email protected] R=localuser T=local_delivery defer (-29): User 0 set for local_delivery transport is on the never_users list
2008-02-24 13:01:02 1JTL9q-0003mC-7p ** [email protected]: retry timeout exceeded
2008-02-24 13:01:02 1JTL9q-0003mC-7p [email protected]: error ignored
2008-02-24 13:01:02 1JTL9q-0003mC-7p Completed
2008-02-24 13:01:02 1JTL9q-0003m8-2q Completed
[[email protected] new]#

--------

Thanks.

Yours truly,
Cusimano.Com Corporation
per: David Cusimano
 

dcusimano

Member
Feb 24, 2008
16
5
53
Toronto, Ontario, Canada
The very first two lines in /etc/localdomains already are as follows:

ns.bime.com
bime.com

Again, the server hostname is ns.bime.com. And a website was added for domain bime.com. But that somehow broke [email protected] and that now bounces as shown in /var/log/exim_mainlog

Yours truly,
Cusimano.Com Corporation
per: David Cusimano
 

dynaweb

Well-Known Member
May 14, 2003
74
1
158
Oregon
Go into WHM -> SERVER CONTACTS -> CHANGE SYSTEM MAIL PREFERENCES and change the "root's mail" setting to something other than :fail:. If you want to receive all those messages, put an actual email address in there and if not then set to :blackhole:. There should be a warning in there that setting to :fail: creates an internal Exim bounce volley and is not recommended.