I want to do two things for known spammers:
1) Auto-bounce the mail
2) Send an automatic nastygram to the sysadmin
I'm testing it with an old account of mine.
:0
* ^(From|Received|Message-I).*mdw086.cc.monash.edu.au
{
:0 c
| (formail -rkA"X-Loop: dbromage(_at_)metz(_dot_)une(_dot_)edu(_dot_)au" ;
cat $PMDIR/.rejectuser)
:0 c
| (cat $PMDIR/.spam-header $PMDIR/.reject | sendmail
bromage(_at_)mdw086(_dot_)cc(_dot_)monash(_dot_)edu(_dot_)au
:0
/dev/null
}
In theory, I should get an auto-bounce back to the same address (this works
on its own) and a form flame to the specified address.
When I run the above, all I get is the form flame. How do I get both to
happen?
Cheers
David