procmail
[Top] [All Lists]

Loose screw in recipe

2002-09-06 18:25:00

This *should* work to:

1. Bounce e-mails in excess of 15KB
2. Return their e-mail below my REJECT text message
3. Record their e-mail address to a LOG file
4. Finish with /dev/null

Can anyone please help me find the loose screw?  Also, I'm a bit unclear
if the * > 15000 includes any attachment file sizes???

Thank you!

Eric

:0HB:
* !^FROM_DAEMON
* !^X-Loop: nospam(_at_)mydomain(_dot_)com
* > 15000
{
:0 fh
| formail -r -A"Precedence: junk" \
   -I"From: NO SPAM <nospam(_at_)mydomain(_dot_)com>" \
   -I"Subject: R E J E C T E D  M A I L" \
   -A"X-Loop: nospam(_at_)mydomain(_dot_)com" ; cat 
$HOME/procmail/reject/over15k.txt
:0
| $SENDMAIL -oi -t
}

:0 c:
| formail -rtzxTo: >> $HOME/procmail/reject/over15k.log

:0 a:
/dev/null





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