Re: mail problem

From: Date: Thu, 13 Sep 2001 03:40:41 +0000
Subject: Re: mail problem
Groups: php.general 
Request: Send a blank email to php-general+get-67115@lists.php.net to get a copy of this message
>Mailing-List: contact php-general-help@lists.php.net; run by ezmlm >list-help: <mailto:php-general-help@lists.php.net> >list-unsubscribe: ><mailto:php-general-unsubscribe@lists.php.net> >list-post: <mailto:php-general@lists.php.net> >Delivered-To: mailing list php-general@lists.php.net >From: David Robley <huntsman@www.nisu.flinders.edu.au> >To: Peter Houchin Sun Rentals STR Manager <peterh@vfsa.com.au>, php-general@lists.php.net >Date: Thu, 13 Sep 2001 12:17:12 +0930 >MIME-Version: 1.0 >Content-Transfer-Encoding: 8bit >Subject: Re: [PHP] mail problem >X-Mozilla-Status: 0000 >X-Mozilla-Status2: 00000000 >X-UIDL: a89ffd79c7882d9be6397af7041f38b1 > >On Thu, 13 Sep 2001 12:04, Peter Houchin Sun Rentals STR Manager wrote: >> hiya >> >> I have several scripts that send mail from web pages made in php.. now >> these pages all work fine. >> >> now all of a sudden php has stopped sending mail and I don't know why >> >> System info >> >> Unix box running Solaris 2.6 >> apache 1.3.12 >> php 4.0.4pl1 >> using sendmail for the emails >> >> php.ini mail related line: >> sendmail_path = sendmail -t -i ;for unix only, may >> supply arguments as well (default is 'sendmail -t -i') >> >> now when I test to see the scripts php reports everything is ok and >> sends back a possitive result. and that the mail has been sent. when it >> hasn't > >I think that the positive result means that php has successfully handed >the message off to sendmail or whatever; whether sendmail then succeeds >is another story :-) > >> now I can go to the commandline and send emails no problem but from the >> web pages I can't .. any suggestions would be apreciated. > >My first thought would be to check the relevant log for sendmail >activity, which might give a clue? the syslog for send mail says this though it gives me no clues Sep 9 03:13:01 www sendmail[2156]: DAA02156: from=lp, size=245, class=0, pri=30245, nrcpts=1, msgid=<200109081713.DAA02156@www.vfsa.com.au>, relay=lp@localhost Sep 9 03:13:01 www sendmail[2158]: DAA02156: to=lp, ctladdr=lp (71/8), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent Sep 9 03:15:00 www sendmail[2167]: DAA02167: from=lp, size=245, class=0, pri=30245, nrcpts=1, msgid=<200109081715.DAA02167@www.vfsa.com.au>, relay=lp@localhost Sep 9 03:15:00 www sendmail[2169]: DAA02167: to=lp, ctladdr=lp (71/8), delay=00:00:00, xdelay=00:00:00, mailer=local, stat=Sent Sep 11 11:14:53 www sendmail[3441]: LAA03441: from=root, size=343, class=0, pri=30343, nrcpts=1, msgid=<200109110114.LAA03441@www.vfsa.com.au>, relay=root@localhost Sep 11 11:14:54 www sendmail[3443]: LAA03441: to=root, ctladdr=root (0/1), delay=00:00:01, xdelay=00:00:01, mailer=local, stat=Sent Sep 11 11:28:47 www sendmail[3515]: LAA03515: from=root, size=93, class=0, pri=30093, nrcpts=1, msgid=<200109110128.LAA03515@www.vfsa.com.au>, relay=root@localhost Sep 11 11:28:48 www sendmail[3517]: LAA03515: to=peterh@sunrentals.com.au, ctladdr=root (0/1), delay=00:00:01, xdelay=00:00:01, mailer=relay, relay=yarrina.connect.com.au. [192.189.54.17], stat=Sent (Ok: queued as CA647110DD) Sep 13 11:03:00 www sendmail[1341]: alias database /etc/mail/aliases rebuilt by root Sep 13 11:03:00 www sendmail[1341]: /etc/mail/aliases: 7 aliases, longest 22 bytes, 136 bytes total Peter

« previous php.general (#67115) next »