procmail
[Top] [All Lists]

help with procmail receipe...

2002-05-22 00:26:53
I am using some recipes that tag all spam mail with a special header.

 

What I am trying to do is prepend the body with some text and then email
it to myself. Unfortunately I can't seem to get the modified message
sent to me. heres the current rules I have

 

:0 BHf

* $ ^$trash_header

| formail -b -f -I"From: JUNKMAIL-$EXT-$HOST(_at_)mydomain(_dot_)com"

 

:0 BHfb  

* $ ^$trash_header

| cat - ; \

echo "---- Spam mail : Please filter this email address to sort into a
JUNK folder ---"

 

:0 H  

* $ ^$trash_header

$SPAMFOLDER

 

What am I doing wrong? . Any help appreciated.  I am not on this ML so a
little 'r' would be great..

 

Richie

 

 

<Prev in Thread] Current Thread [Next in Thread>