Re: Sending mail with php-

From: Date: Tue, 10 Jan 2006 13:33:17 +0000
Subject: Re: Sending mail with php-
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228398@lists.php.net to get a copy of this message
Dear Dotan, Dotan Cohen wrote:
On my home Fedora Core 4 box I run Apache 2.0. Sometimes when sending mail with php no mail is delivered, and I find this in the logs: <<< 550-Verification failed for <apache@localhost.localdomain> <<< 550-unrouteable mail domain "localhost.localdomain" <<< 550 Sender verify failed You are getting this error because apache@localhost.localdomain cannot be reached from Internet and whoever you are sending mail to may have something called sender check. This verifies if the sender of this mail is reachable. This avoids spammers to send mails using unreachable addresses. Also he may be checking spf-record for your From: domain on mail envelop.
So I changed the only email address in httpd.conf to: ServerAdmin dotan@lyricslist.com What error you are getting after you change address in apache and try sending mail after restarting apache?
But I still get the error! I did restart apache and even went so far as to reboot the machine. If I cannot modify the parameter within apache, then where should I modify it? Within php? Within sendmail?
-- Sameer N. Ingole Blog: http://weblogic.noroot.org/

« previous php.general (#228398) next »