Re: New molluscum treatment device
On Wed, Oct 04, 2000, Josip Rodin wrote:
> On Wed, Oct 04, 2000 at 01:21:05AM -0600, John Galt wrote:
> > when's the last time you saw perfectly legal spam: a denoter in the subj
> > line, clear removal instructions, and clear contact information?
>
> Never. :(
>
> I also don't believe a word about these removals -- it seems more likely
> it's just a way of making sure the submitter got and read the spam.
>
> It would be cool to have an auto-responder script that you could feed with
> spams, and then the script would send a fake bounce, addressed from mailer
> daemon, including a valid bounce reason, etc.
>
Hi. I use junkfilter and procmail for that. Here is my .procmailrc :
PMDIR=$HOME/.procmail
JFDIR=/usr/lib/junkfilter
# Folder containing my junkfilter.config file
JFUSERDIR=$HOME/.procmail/junkfilter
MY_LOGFILE=$PMDIR/log
LOGFILE=$MY_LOGFILE
# The mailing lists I receive
INCLUDERC=$PMDIR/rc.mailing-lists
# Spam filtering
SPAMFOLDER=junk.mail
LOGFILE=/dev/null
INCLUDERC=$JFDIR/junkfilter
LOGFILE=$MY_LOGFILE
:0
* JFEXP ?? .
{
# Here is the trick. This will cause the mailer to return a bounce
# as "user unknown".
EXITCODE=67
# This adds two headers to spams, to see why they got filtered
:0:
* JFEXP ?? .
|formail -i "X-junkfilter: $JFVERSION" -i "X-Spammer: $JFEXP" >> $SPAMFOLDER
}
I hope this will be useful for someone.
--
Etienne BERNARD <eb@pltplp.net>
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Reply to: