----- Original Message -----
From: "Ken Marcus - Precision Web Hosting, Inc."
<kenmarcus (at mark) precisionweb.net>
To: <coba-e (at mark) bluequartz.org>
Sent: Thursday, April 03, 2008 8:36 AM
Subject: [coba-e:12444] Re: sendmail won't send from scripts
>
> From: Gregg [mailto:greggk1 (at mark) cox.net]
>
>>>
> I'm having some issues with scripts sending email out. Server works
> alright, email works nicely, however if I have a php or cgi script trying
> to send email, I get the following error:
> relay=[127.0.0.1] [127.0.0.1], dsn=5.6.0, stat=Data format error
>
> I guess this is some sendmail configuration error? Any suggestions are
> most welcomed :-D
> Thanks in advance.
> Gregg
>
> Check http://bluequartz.org/ml/archive/coba-e/12000/12018.html
>
> Thanks, that's great
> Any PHP solution out there too?
>
> <<
>
>
> You could try adding the apache user to the
> /etc/mail/trusted-users
>
> then
>
> /etc/rc.d/init.d/sendmail stop
> killall -9 sendmail
> /etc/rc.d/init.d/sendmail start
I actually added apache@ in the virtusertable and restarted sendmail and it
works now
Maybe I should try adding it to the trusted-users instead and try that too.
Thanks for all the suggestions
Gregg