This is my killfile.log. Part of it anyway. I did not receive a message
back when sending from this address
From poohba(_at_)hotmail(_dot_)com Thu Apr 5 03:05:05 2001
Subject: Another test
Folder: BOZOS=.reject
1013
procmail: Executing "formail,-rzxTo:"
procmail: Assigning "FROM=poohba(_at_)hotmail(_dot_)com"
procmail: Executing " echo "$FROM" | $EGREP -i -f $BOZOS"
/bin/bash: -i: command not found
procmail: Non-zero exitcode (127) from " echo "$FROM" | $EGREP -i -f $BOZOS"
Dave Robbins wrote:
From: Poohba <poohba(_at_)poohba(_dot_)adsl(_dot_)duke(_dot_)edu>
Date: Wed, 04 Apr 2001 13:11:30 -0400
Is there anyway to create a bounced email? I want a bounced email to go
back to specific senders so that they think this account is invalid.
I regret to say that I no longer have the name of the list member
who provided this recipe a few years back.
You must have GNU grep for the $EGREP. You should have this anyway.
The undesired sender (if on your reject list) gets a MAILER-DAEMON message
back (produced by the EXITCODE = 77) and you get nothing but their
mail header tucked away in the gzipped file.
Dave Robbins
--
BOZOS=.reject # file with addresses to reject (one per line)
FROM=`formail -rzxTo:`
:0
* ? echo "$FROM" | $EGREP -i -f $BOZOS
* ? test -r $BOZOS -a -s $BOZOS
{
EXITCODE = 77
:0h:
| gzip -fc >> $MAILDIR/.headers.gz
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail