I have a PHP script that I use for notification via email.
Unfortunately, some email accounts seem to reject emails coming from my server with messages like:
Quote:
This is the Postfix program at host xxxxxxxxxxxxxxxx.com.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<emailaddresshidden@recipientsdomain.com>: host xyxyxyxyxyx.com[101.101.101.101]
said: 550 <xxxxxxxxxxxxxxxx.com>: No thank you rejected:
Domain not found (in reply to RCPT TO command)
|
Note: For the sake of privacy I changed the IP's, hostnames, and email addresses.
By reading in various forums and heavy googling I found out that the problem could stem from my DNS settings.
My DNS settings for my domain are as follows:
Quote:
A records:
localhost.mydomain.com - 127.0.0.1 - 43200
mydomain.com - 99.153.128.201 - 43200
*.mydomain.com - 99.153.128.201 - 43200
mail.mydomain.com - 114.100.92.153 - 43200
MX record:
mydomain.com - mail.mydomain.com 10 - 43200
|
My email is hosted at a different host but I'm still sending out mails from the server (via the php script) from
me@mydomain.com. Is this the problem?
Please help!
Thank you.