procmail
[Top] [All Lists]

Re: incorrect From_ set to 'root'

2002-04-21 14:18:48
Thank you, I finaly  got the solution :

The problem is that procmail does not know the envelope's sender, unless
it's passed to him.

Either I'll add the sendmail F=f flag (to call procmail with -f $g) or
turn the F=n flag off (to let sendmail create the From_ line).

procmail was invoked as root (F=S) and no From_ was created (F=n)

Mlocal,         P=/usr/lib/procmail, F=lsDFMAw5:/|@qESn,
S=EnvFromL/HdrFromL, R=EnvToL/HdrToL,
                                                     ^^
                T=DNS/RFC822/X-Unix,
                A=procmail -Y -a $h -d $u

Thank you for your help.

Foudil
___________________________________________________________
Foudil BRETEL - INRIA Rocquencourt - Foudil(_dot_)Bretel(_at_)inria(_dot_)fr
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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