Cpbackup email fail

There are 4 servers which all use the same mail server in the cluster.
web1 – mail server/web server
web2 – mail server/webserver
db1 – db server
db2 – db server
When db1 & db2 cpbackup is complete, the email is sent out but never received by the admin and fails with the message

Server replied: 550 No Such User Here

From the exim_main log;
2009-11-19 06:07:26 [15704] 1NB4rG-00045H-LL ** user@domain.com F= R=virtual_aliases: No Such User Here

When checking exim -bt and whm mail troubleshooter, we get the error; “virtual_aliases router forced address failure”

The error in this case was resolved by removing the “domain.com” for web1 and web2 from the /etc/localdomains.

This allowed the mail to resolve correctly to the mail servers and be sent out to the admin from db1 & db2.

[root@db2.domain.com] ~ >> mail -s “test” user@domain.com (hit enter) type in message,
test from db2
hit enter for new line, when finished with message, hit CTRL+D Cc: will come up, type in second email address if you would like and then hit enter again to sent the email
Cc: admin@domain.com
The message has now been sent or should be;

2009-11-19 06:24:14 [17647] cwd=/root 4 args: send-mail -i admin@domain.com user@domain.com

2009-11-19 06:24:14 [17647] 1NB57W-0004ad-KG < = root@db1.domain.com U=root P=local S=362 T="test" from for admin@domain.com user@domain.com

2009-11-19 06:24:30 [17648] 1NB57W-0004ad-KG =>user@domain.com F= P= R=lookuphost T=remote_smtp S=682 H=mail2.domain.com [ip.ip.ip.ip]:25 X=TLSv1:AES256-SHA:256 CV=no DN=”/C=US/ST=Unknown/L=Unknown/O=Unknown/OU=Unknown/CN=web2.domain.com/emailAddress=ssl@web2.domain.com” C=”250 OK id=1NB57g-00068F-DS” QT=16s DT=16s

I hope this makes sense and is able to help someone out…

g33kadmin

I am a g33k, Linux blogger, developer, student and Tech Writer for Liquidweb.com/kb. My passion for all things tech drives my hunt for all the coolz. I often need a vacation after I get back from vacation....

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.