Re: Sending mail with php-

From: Date: Tue, 10 Jan 2006 20:07:54 +0000
Subject: Re: Sending mail with php-
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-228439@lists.php.net to get a copy of this message
On 1/10/06, Sameer N Ingole <strike@proscrutiny.com> wrote: > Dear Dotan, > > You know cross-posting is bad..? > > replies-lists-php@listmail.innovate.net wrote: > > > > > > >he also sent a message to the fedora list where he's been responded > >to. > > > > > > > >------------ Original Message ------------ > > > >>Date: Tuesday, January 10, 2006 07:03:17 PM +0530 > >>From: Sameer N Ingole <strike@proscrutiny.com> > >>To: php-general@lists.php.net > >>Subject: Re: [PHP] Sending mail with php- > >> > >>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/ > >> > >>-- > >>PHP General Mailing List (http://www.php.net/) > >>To unsubscribe, visit: http://www.php.net/unsub.php > >> > > > >---------- End Original Message ---------- > > Yes, I know that cross-posting is unencouraged behaviour. However, I really thought that apache-users was the place to ask. When I received no reply from the apache mailing list, I did not know whether to ask here or at my distro's (Fedora) list. As the problem is in a php script, however, it involves php AND apache AND sendmail, all of which were installed by default on my distro- and are expected to work. I was not sure if the fault is with me (my misconfiguration) or with the distro (distros default configuration). So I appologize, and here I learned yet another lesson- when I _do_ cheat- I get caught! Dotan Cohen http://technology-sleuth.com/short_answer/what_is_hdtv.html (&^

« previous php.general (#228439) next »