Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Procmai Howto change from

Status
Not open for further replies.

rouse01

IS-IT--Management
Sep 10, 2001
143
US
Hello, I'm running sendmail with this procmail recipe. It works fine, but I'd like to have it addressed from something other than root, maybe postmaster...

#Recipe 5
:0 Whc: me.lock
* $^To:.*me
* !^FROM_DAEMON
* !^X-Loop: me@myisp.provider
| formail -rD 8192 me.cache
:0 ehc
| (formail -rI"Precedence: junk" -A"X-Loop: me@myisp.provider " ; echo "I received your mail,"; echo "Thanks very much."; echo "-- "; cat $HOME/.signature ) | $SENDMAIL -oi -t

Yu all will recognize this as a pretty standard auto-responder recipe. But I can't decipher the man pages to figure out how to overide the "from". Thanks in advance.

Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top