procmail
[Top] [All Lists]

Re: Fake From line detection

1997-10-23 09:46:36
Mike Spengler <mks(_at_)networkcs(_dot_)com> writes:
Philip Guenther said:

Mike Spengler <mks(_at_)networkcs(_dot_)com> writes:
...
Yeah, plus I also get all these annoying syslog error-level messages:

   procmail[21505]: Attempt to fake stamp by "mks"

Ah, this makes it sound like sendmail is running as user "mks".  If
this is correct, then you should recompile procmail after adding "mks"
to the TRUSTED_IDS define in config.h


Since sendmail is running as the local sending user ("mks" is this case), I
would have to put ALL the users into TRUSTED_IDS - kinda defeats the purpose.
I forgot to mention that this (the extra >From line or the syslog error
message with the -o option) only appears to occur when mail is from a user 
with an account on the final delivery host (although it has gotten to this 
host via our mail gateway).  Mail from outside the domain has no problems.

Weird.  The 'S' flag on the local mailer is there for the exact purpose
of having sendmail _not_ run as the sending user in this situation.
Are you sure sendmail is setuid root?


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>