Nov 192009
 

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 ** [email protected] 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.

[[email protected]] ~ >> mail -s “test” [email protected] (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: [email protected]
The message has now been sent or should be;

2009-11-19 06:24:14 [17647] cwd=/root 4 args: send-mail -i [email protected] [email protected]

2009-11-19 06:24:14 [17647] 1NB57W-0004ad-KG < = [email protected] U=root P=local S=362 T="test" from for [email protected] [email protected]

2009-11-19 06:24:30 [17648] 1NB57W-0004ad-KG =>[email protected] 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/[email protected]” C=”250 OK id=1NB57g-00068F-DS” QT=16s DT=16s

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

 Posted by at 7:01 am

 Leave a Reply