If you are getting the following error message
** email@example.com R=virtual_aliases: No Such User Here
Please remove the domain name from /etc/localdomains
and add the domain to /etc/remotedomains.
This will fix the problem as the domain has MX record outside the server the form mail on the server won’t try to send mail, if you change these two files, it will fix the problem.
If you receive any error as below
2010-10-30 12:19:52 1PCF5s-00037s-3x ** firstname.lastname@example.org R=lookuphost T=remote_s mtp: SMTP error from remote mail server after MAIL FROM: SIZE=1415: host MX.anydomain.com [xxx.xxx.xxx.xxx]: 553 #5.1.8 Domain of sender address does not exist
Goto php.ini file and add the following line
“sendmail_path =/usr/sbin/sendmail -t -i -f email@example.com”
Thank you for viewing helpinlinux.com