Form mail issue with php script.

If you are getting the following error message

** 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 ** R=lookuphost T=remote_s mtp: SMTP error from remote mail server after MAIL FROM: SIZE=1415: host []: 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”

Thank you for viewing

Leave a Reply

Protected by WP Anti Spam