procmail
[Top] [All Lists]

envelope address delivering mail via smtp

2008-11-28 17:42:07
Hi alls,

I'm using fetchmail + procmail to set up a filtered pop2smtp gateway.

Fetchmail works fine. Messages are fetched via POP and passed to procmail.

Now, I have a really simple recipe ($1 is the correct recipient, passed
with -a- option):

:0
* !^foo:bar
| $1

This is almost enough: i need to delivery the mail using, as envelope
sender, the *original envelope sender*.

Correctly, the recipe action will use, as envelope sender, the user
running procmail process.

Sorry for this stupid question: i'm wasting hours reading man pages and
searching for documentation, without luck.

How can i set the original envelop sender on recipe action? Or do i have
to use other tools to forward the mail to the next MTA?

thanks, br

-- 
efphe
Today is Boomtime, the 40th day of The Aftermath in the YOLD 3174
____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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