Index: [Article Count Order] [Thread]

Date:  Thu, 3 Apr 2008 09:17:02 -0700
From:  "Gregg" <greggk1 (at mark) cox.net>
Subject:  [coba-e:12447] Re: sendmail won't send from scripts
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <285101c895a6$270cf710$010510ac@gregg>
References:  <004f01c8951c$9c82a650$e5b418ac@dell> <26c701c89525$3ab86230$010510ac@gregg> <00af01c89531$42849360$6400a8c0@HPPAVILION> <275101c8954c$b9287a70$010510ac@gregg> <1cad01c895a0$74c1c0e0$6401a8c0@OfficeKen>
X-Mail-Count: 12447


----- 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