On Sun, 9 Jun 2002, Hermann Wecke wrote:
The recipe below is based on one found in this list previously
(http://www.rosat.mpe-garching.mpg.de/mailing-lists/procmail/2001-12/msg00085.html)
Glad my script is proving useful ;-)
My question is: how I can keep a copy - intact - of the original message?
Note the changes I made below
:0
* ^From:(_dot_)*service(_at_)paypal\(_dot_)com
* ^Subject:.*Receipt for your debit card purchase
{
:0c:
PayPal
# Trim the fat :-)
:0 fb w
| sed 's/^This is to notify you that //;/Please log in to your
PayPal/,$d'
### Send a copy to the cell phone
:0fhw
|formail -I"From: PayPal <nobody>" -I"Subject:" -I"Precedence:bulk"
-I"Errors-To: nobody" -I"Reply-To: nobody"
:0
! mypager(_at_)nextel
}
# end PayPal
TjL
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail