procmail
[Top] [All Lists]

help recipe

2001-03-06 15:22:24
i am trying to use a recipe to deal with spammers.  i found a nice resourse 
Bob bell's web page i have a slight problem

it seems it's trashing the mail but it is not putting it in a mailbox that i 
want until i am sure it works


here is the log

 Subject: CUT YOUR CELL BILL IN 1/2
  Folder: /usr/bin/formail -rf -I X-Mailer: Virtuoso spam processing -I    2415
Usage: formail [-vbczfrktqY] [-D nnn idcache] [-p prefix] [-l folder]
        [-xXaAiIuU field] [-R ofield nfield]
   Or: formail [+nnn] [-nnn] [-bczfrktedqBY] [-D nnn idcache] [-p prefix]
        [-n [nnn]] [-m nnn] [-l folder] [-xXaAiIuU field] [-R ofield nfield]
        -s [prg [arg ...]]
        
        and below is the recipe i am trying to use
        
******i do this so if the rejection was and error and they write back
i can deal with it
        
:0
* ^Subject.*spam error
$PMDIR/errors
**************************************here i bounce back
:0
* ^From:Mail Delivery Subsystem
{
:0 B
* X-Mailer: Virtuoso spam processing
/dev/null
}

***********************************************here i want to reply with a msg
and put it in a folder  
:0
* !((^TO_.*landie))
| /usr/bin/formail -rf -I "X-Mailer: Virtuoso spam processing" -I
"From: IVirtuo"  -i "Subject: Your message has been deleted"
| cat - $HOME/spam_error | sendmail -t
$PMDIR/spammer_will_be_deleted
        
-- 
SuSe 7.0 Linux 2.2.16 i686 Tue Mar 6 11:05:00 EST 2001
_______________________________________________
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>