[KLUG Members] Mail from PHP

Robert G. Brown members@kalamazoolinux.org
Sun, 18 Apr 2004 19:31:51 -0400


On Sun, 18 Apr 2004 19:18:07 -0400, Adam Tauno Williams <awilliam@whitemice.org> wrote:

>> >Have you added apache as a trusted user in sendmail (permitted to forge
>> >headers),....
>> apache is in the trusted-users flat file in /etc/mail, if that's what you mean.
>Yep.
Yeah, the one uncommented line in the files says (ready?):
apache


>> > and made sure he (is apache a he?) isn't set as an expose
>> >(don't masquerate) identity?
>> ??? I expect it (not he) isn't one.
>You'd see a EXPOSED_USER line in sendmail.mc if it (not she) was.
The only EXPOSED_USWER is root...
EXPOSED_USER(`root')dnl

>When you send a message does your local maillog burble about apache
>forcing sender?
>Something like -
>Apr  5 10:12:49 kohocton sendmail[2486]: i35ECnCJ002486:
>Authentication-Warning: kohocton.morrison.iserv.net: apache set sender
>to XYZ using -f
No... here's aq sample sequence...
Apr 18 15:32:22 bobsbox sendmail[7288]: i3IJWMsF007288: from=<apache@localhost.localdomain>, size=606, class=0, nrcpts=1, msgid=<200404181932.i3IJWLYj007286@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=bobsbox [127.0.0.1]
Apr 18 15:32:22 bobsbox sendmail[7286]: i3IJWLYj007286: to=someone@charter.net, ctladdr=apache (48/48), delay=00:00:01, xdelay=00:00:00, mailer=relay, pri=30138, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (i3IJWMsF007288 Message accepted for delivery)
Apr 18 15:32:23 bobsbox sendmail[7290]: i3IJWMsF007288: to=<someone@charter.net>, ctladdr=<apache@localhost.localdomain> (48/48), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30375, relay=mail.charter.net. [209.225.8.224], dsn=5.6.0, stat=Data format error
Apr 18 15:32:23 bobsbox sendmail[7290]: i3IJWMsF007288: i3IJWNsF007290: DSN: Data format error
Apr 18 15:32:37 bobsbox sendmail[7290]: i3IJWNsF007290: to=root, delay=00:00:14, xdelay=00:00:00, mailer=local, pri=31630, dsn=2.0.0, stat=Sent

I think charter.net bounced it 'cuz it's trying to authenticate it via reverse lookup and 
it doen't check out...message ssent to other MTA's stay sent...
									Regards,
									---> RGB <---