[linux-elitists] out of orifice autoreplies
Sun Jan 5 06:52:10 PST 2003
> -----Original Message-----
> From: Eugen Leitl [mailto:email@example.com]
> > I don't want to touch what comes out of orifice.
> Yeah, that's why I'm asking for procmail to handle that. (Ewwww).
This is an example from the procmailex man page, which I personally used:
:0 h c
* !^X-Loop: firstname.lastname@example.org
| (formail -r -I"Precedence: junk" \
-A"X-Loop: email@example.com" ; \
echo "Mail received.") | $SENDMAIL -t
I just can't find my own code.
In short, formail -r will reverse the sender and recipient addresses to any mail stream you feed it.
More information about the linux-elitists