procmail
[Top] [All Lists]

Re: changing headers upon forwarding

2003-09-11 14:50:30
Hello,

Date: Wed, 10 Sep 2003 12:31:03 -0700
From: PSE-L(_at_)mail(_dot_)professional(_dot_)org (Professional Software 
Engineering)
Subject: Re: changing headers upon forwarding
To: procmail(_at_)lists(_dot_)rwth-aachen(_dot_)de
Message-ID: 
<5(_dot_)1(_dot_)1(_dot_)6(_dot_)2(_dot_)20030910122753(_dot_)08a00450(_at_)mail(_dot_)professional(_dot_)org>

At 19:45 2003-09-10 +0200, Nikolaus Hiebaum wrote:
Until now I have been using the "classical" method:
:0 c
! name(_at_)account2(_dot_)com

The "classical" method as you call it is over simplified and
prone to many
failures - for instance, mail loops.

Well, I thought it was the "classical" (and correct) way because this is
an example I took out of 'man procmailex'.

That's what I need to change. :) Can I modify the "Return-Path:" header
with formail?

Have you considered TRYING it?  Check out the SANDBOX setup documented
at
the pages linked from my .sig

I worded my question badly. I was naive to think that maybe the
"Return-Path:" header must not be changed. I've used the sandbox described
on your HP, and it works great.

:0c
| formail -i "Return-Path: somewhere" | $SENDMAIL account2 -f account1

Yes, this works like a charm, with the tweak of "$SENDMAIL -f account1
account2" though. :) Thanks for the help.

-- 
CU, Nick
*Draft beer, not people*


_______________________________________________
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>