Domain of sender address does not exist
Domain of sender address does not exist
I found several threads on this issue here, but none reported having found a solution.
Since purchasing a reseller account and moving some domains to a new server I have been wrestling with an e-mail failure that occurs when PHP is used to send e-mail. This error does not occur with Mailman but it DOES occur with Squirrelmail AND Neomail.
To make matters more complicated, this error does NOT happen all the time. For instance, I can reliably send to Yahoo.com from PHP or Squirrellmail or Neomail. However, there are two domains that I send to regularly that reject the mail. When the mail is rejected it is reported as a DNS failure and subsequently Domain of sender address does not exist.
The server where my site is hosted is using PHPSuexec. All mail sent out via PHP is marked with the Return-path of accountname@server.domain.com. It is this Return-path that appears to cause SOME mailservers fits. As far as Ive been able to determine, I am prevented from changing the Return-path with the sendmail -f option or by specifying the Return-path in the mailheaders in the PHP mail() function.
Since only SOME servers are having a problem reading the DNS for the Return-path, I assume that the server is configured correctly. At least it is configured in such a way that most domains have no trouble determining the IP of the sender.
I am not the administrator for this server. Im just a customer. Im looking for some ideas on what I might recommend as a fix, or at least ideas on what might be causing the problem.
The admin for this server hasnt been able to figure out what could be causing only SOME mailservers to be unable to access the DNS info.
Any help would be greatly appreciated.