At 12:37 2002-04-17 +0200, Foudil(_dot_)Bretel(_at_)inria(_dot_)fr wrote:
Thank you for your help.
Before sending your next reply, take a moment to read my .sig line. Thank you.
all From_ lines are set to "root" : for incoming and outgoing mail.
I don't have any /etc/procmailrc ; there's no forwarding.
Well, if all the _outgoing_ messages have this problem, it clearly isn't
procmail.
The simple sanity check: preserve your current sendmail.cf, generate a new
one sans local procmail, install it, restart sendmail, and send a test
message. Note how it's still screwed up. Restore original sendmail.cf,
and restart sendmail. Now, seek assistance in the appropriate _SENDMAIL_
forum.
This result is produced even after a simple connection on port 25 with the
machine delivering via procmail. Procmail is called by sendmail (sendmail.cf
built with cf/feature/local_procmail.m4) :
Which doesn't matter whatsoever if you have this problem on SENT mail (i.e.
messages leaving your system, not for local delivery), since
procmail-as-lda is only invoked for locally delivered messages.
>The only time I've seen root as the envelope sender is when a root-owned
>process sends mail...
Sendmail runs as root, but I believe it should pass the envelope sender to
procmail.
Sendmail should pass the ACTUAL envelope sender to procmail, not who _it_
runs as. When sendmail is invoked locally (not the copy running as your
SMTP daemon, but actually invoked), and not expressly provided with an -f
option, the sender is automatically set to the current user. IOW, "when a
root-owned process sends mail..."
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail