Majority of mail not being delivered...
For ~30-40% of my users, these messages arrive without fail (gmail.com, hotmail.com users). But for others, like aol, comcast, etc, no email ever arrives.
Looking through my mail logs, I see the following:
host mailin-02.mx.aol.com[205.188.155.89] said: 550 REQUESTED ACTION NOT TAKEN: DNS FAILURE
This was on an attempt to send mail from my linode to aol.
UNfortunately, I am a complete newbie when it comes to properly configuring postfix. I have tried many times to configure it properly, but have clearly failed.
My server is just used for outgoing mail from php via postfix. I believe that it rejects incoming mail properly, and is not relaying at all (from probing it and reading the logs).
Can anyone help me out with this problem? I can post my postfix conf if needed.
Your help is greatly appreciated!
7 Replies
Looking at it, my IP is pointed at mydomain.com. Should it be pointed at mail.mydomain.com, as this appears to be where my mail is originating from?
Apr 29 11:46:23 localhost postfix/qmgr[531]: 3E67717447: from=<
I have added mail.mydomain.com to my zoneedit account that I use for dns for this domain, as an alias. Is ther a chance this will rectify the issue?
Also, how can I change the user the mail is being sent from?
550 Requested action not taken: DNS FAILURE
These errors indicate that there are DNS resolution problems somewhere between your domain and AOL. This usually means that AOL is unable to resolve your domain name in DNS before accepting that mail for delivery. Contact your e-mail administrator for assistance. The network administrator for the site may have to modify their resource records in DNS.
I'm not sure if you've already seen that or if it's helpful…
The user sending mail is always going to be www-data, since that's the user your PHP interpreter, apache, is running as. This is not the same as the "From" address. I don't think that this discrepancy should be part of the problem at all.
Thanks!
including a rdns tool:
You can check/modify your Linode rdns via:
See also:
Solving it for AOL will probably solve it for all refusing MXers.
HTH,
Cliff
Postfix is sending mail from mail.mydomain.com
I did not have a CNAME entry in dns for mail.mydomain.com, so it was not properly resolving, duh!
AOL is not gladly accepting mail.
I have setup SPF on the DNS server as a TXT entry, is there anything else I need to do?
Finally, I use Gmail to send mail for my domain (i.e. correspondeance, not auto-generated mail from PHP). For my SPF entry, should I add the outgoing gmail servers as well?
Thanks for the help so far,
P
As far as SPF: yes, you will need to add the gmail servers. I think this is the biggest disadvantage of SPF, that you need to think of everywhere you might possibly send mail from and put those in your DNS. As far as a solution to that, smarter men than I have failed.