[linux-elitists] out of orifice autoreplies

Arik Baratz arikb@vidius.co.il
Sun Jan 5 06:52:10 PST 2003

> -----Original Message-----
> From: Eugen Leitl [mailto:eugen@leitl.org]
> > I don't want to touch what comes out of orifice.
> Yeah, that's why I'm asking for procmail to handle that. (Ewwww).

Ok, ok.

This is an example from the procmailex man page, which I personally used:

              :0 h c
              * !^FROM_DAEMON
              * !^X-Loop: your@own.mail.address
              | (formail -r -I"Precedence: junk" \
                  -A"X-Loop: your@own.mail.address" ; \
                 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.

-- Arik

More information about the linux-elitists mailing list