On Thu, 13 Sep 2001 13:43, Peter Houchin Sun Rentals STR Manager wrote:

<SNIP headers: didja know dtmail was putting them in?>


> >On Thu, 13 Sep 2001 13:10, Peter Houchin Sun Rentals STR Manager wrote:
> >> >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
> >
> ><SNIP log entries>
> >
> >> Peter
> >
> >Not much traffic there :-) Try sending one from the command line, then
> >one with your script and then check the log again.
>
> That's because its on the web server traffic ... set up to handle just
> requests from our webpages ...
>
> ok now I've done what you said and found this out..
>
> from command line it adds a entry to the syslog for sendmail
>
> from the web page it does not seem to add anything to the log

So php is handing it off OK, but sendmail appears to be not 
getting/ignoring it? Any system changes or anything even minor happened 
around the time things stoped working. [I'm grasping at straws here a bit 
because I don't know how php handles the communication with sendmail]

-- 
David Robley      Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES      Flinders University, SOUTH AUSTRALIA  

   What's another word for thesaurus?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to