Re: Sending mail with php-

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 1/10/06, Sameer N Ingole <strike@xxxxxxxxxxxxxxx> wrote:> Dear Dotan,>> You know cross-posting is bad..?>> replies-lists-php@xxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxx>> >>To: php-general@xxxxxxxxxxxxx> >>Subject: Re:  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@xxxxxxxxxxxxxxxxxxxxx>> >>><<< 550-unrouteable mail domain "localhost.localdomain"> >>><<< 550 Sender verify failed> >>>> >>>> >>You are getting this error because apache@xxxxxxxxxxxxxxxxxxxxx> >>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@xxxxxxxxxxxxxx> >>>> >>>> >>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, Ireally thought that apache-users was the place to ask. When I receivedno reply from the apache mailing list, I did not know whether to askhere or at my distro's (Fedora) list. As the problem is in a phpscript, however, it involves php AND apache AND sendmail, all of whichwere installed by default on my distro- and are expected to work. Iwas not sure if the fault is with me (my misconfiguration) or with thedistro (distros default configuration).
So I appologize, and here I learned yet another lesson- when I _do_cheat- I get caught!
Dotan Cohenhttp://technology-sleuth.com/short_answer/what_is_hdtv.html(&^

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux