procmail
[Top] [All Lists]

Rewriting From:

2003-03-05 02:39:05

I have the address 'websmith(_at_)pcraft(_dot_)com' aliased to my own email, so that everything send to that address comes to me. In my recipe I have the following snippet:

:0 h c
   * ^TO_websmith(_at_)pcraft(_dot_)com
   * !^FROM_DAEMON
   * !^X-Loop: websmith(_at_)pcraft(_dot_)com
   | (formail -r -I"Precedence: junk" \
      -A"X-Loop: websmith(_at_)pcraft(_dot_)com" ; \
      cat /etc/webmaster.msg) | $SENDMAIL -t

This works, in that it sends 'webmaster.msg' back to the original sender. However, the message goes out with the From: line being me which has been throwing some people off (after all, they emailed 'websmith', not me.) Is there a way I can make it send the message out with the From: being websmith(_at_)pcraft(_dot_)com?


M | I haven't lost my mind; it's backed up on tape somewhere.
 +--------------------------------------------------------------------
 Ashley M. Kirchner <mailto:ashley(_at_)pcraft(_dot_)com>   .   303.442.6410 
x130
 IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
 Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
 http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

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