procmail
[Top] [All Lists]

Vacation Announcement and sendmail

2003-05-03 06:23:19
The following recipe works fine. However when people 
receive the message, the from address is 
From: myname(_at_)THECOMPUTERNAME(_dot_)com
Is there an option where I can make the from address 
into myname(_at_)DOMAIN(_dot_)com

I asume that its going to be some change to the last
line....
cat $HOME/.vacation.msg) | /usr/sbin/sendmail -oi -t

thank you

### MY RECIPE BELOW ####

:0 Whc: $HOME/vacation.lock
* ^(To|Cc):.*(myname(_at_)domain(_dot_)com)
* !^FROM_DAEMON
* !^X-Loop: myname(_at_)domain(_dot_)com
* ! ^Subject: \*SPAM\*
| formail -rD 8192 $HOME/vacation.cache

:0 ehc
 | (formail -rI"Precedence: junk" \
-I"Subject: Auto Reply Vacation Message From me" \
-A"X-Loop: myname(_at_)domain(_dot_)com" ; \
cat $HOME/.vacation.msg) | /usr/sbin/sendmail -oi -t



____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

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