Re: mail function is not working
| From: | Dorian Szekely | Date: | Thu, 03 Apr 2003 21:09:03 +0000 |
| Subject: | Re: mail function is not working | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-10494@lists.php.net to get a copy of this message | ||
hi,
that's it, sendmail rejects the message with an error:
Apr 3 22:52:25 chicago231 sendmail[17259]: NOQUEUE: SYSERR(wwwrun):
/etc/sendmail.cf: line 71: readcf: DontBlameSendmail option:
GroupReadableSASLFile unrecognized
i will switch to the sendmail newsgroup to get this fixed ;-)
apache runs as user wwwrun and is in the trusted user,
greetings
dorian
"Michael Scappa" <mscappa@mrbcomm.com> schrieb im Newsbeitrag
news:010d01c2fa1f$9da854a0$9865fea9@productionII...
> Dorian, it could be your 'sendmail from' line in there. Sometimes sendmail
> will reject sending emails from invalid from addresses. Make it a real
> address on your server and make sure apache is allowed to send from that
> address (its in the trusted-users) file of your /etc/mail folder. I'm
> willing to bet its sendmail rejecting the message to being sent.
>
> -Mike
>
> ----- Original Message -----
> From: "Dorian Szekely" <szekely@factory12.de>
> To: <php-install@lists.php.net>
> Sent: Thursday, April 03, 2003 2:42 PM
> Subject: [PHP-INST] mail function is not working
>
>
> > Hi all,
> >
> > i installed PHP 4.3.1 on a fresh Apache 2.0.44 on Suse Linux 7.3
> >
> > after configuration of the php.ini:
> >
> > sendmail_path = /usr/sbin/sendmal -t
> > sendmail_from = abc@test.com
> >
> > i started to write a simple script to test the mail() function, but
> nothing
> > happens - no error message
> > the returncode of the function is FALSE.
> >
> >
> > what could be the reason for this?
> >
> > how do i get an error message why its not working?
> >
> > greetings
> >
> > Dorian
> >
> > PS: Apache and PHP is compiled and installed on Suse Linux 7.2
> > sendmail is working normaly
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>