****************************************************************************
Q: What are efficient examples to test anti-spam filters?
****************************************************************************
Can you provide other test methods to those 6 discussed previously, e.g.,
-------------------------------------------------------------------------
1) procmail ~/.procmail/rc.testing < /tmp/foo
(Where /tmp/foo is a dummy email message)
-------------------------------------------------------------------------
2) formail -s procmail ~/.procmail/rc.testing < /tmp/foo
-------------------------------------------------------------------------
3) cat /tmp/foo | formail -s procmail ~/.procmail/rc.testing
-------------------------------------------------------------------------
(Whether or not you are a "trusted" user.)
4) telnet machine-name smtp
helo spam.com
mail from: spammer
rcpt to: address1(_at_)company(_dot_)com
rcpt to: address2(_at_)company(_dot_)com
rcpt to: address3
data
subject: This is a test of spam spoofing from <enter your Login>
x-reply: You may reply to <enter your Login> if desired
<type a blank line to separate the header>
Hello,
This is a test message of my procmail anti-spam filter.
I am spoofing an email address to see if procmail catches this.
This mail should look like it is...
From: spammer(_at_)spam(_dot_)com
To: address1(_at_)company(_dot_)com, address2(_at_)company(_dot_)com,
address3(_at_)localhost
Please delete and ignore; thanks,
. <type a dot or control-D on a line by itself to end the email>
quit
-------------------------------------------------------------------------
(Whether or not you are a "trusted" user.)
5) /usr/lib/sendmail -fspammer(_at_)spam(_dot_)com -F"Mr. Spam"
address1(_at_)company(_dot_)com
subject: This is a test of spam spoofing from <enter your Login>
to: address1(_at_)company(_dot_)com
x-reply: You may reply to <enter your Login> if desired
<type a blank line to separate the header>
Hello,
This is a test message of my procmail anti-spam filter.
I am spoofing an email address to see if procmail catches this.
This mail should look like it is...
From: spammer(_at_)spam(_dot_)com
To: address1(_at_)company(_dot_)com
Please delete and ignore; thanks,
. <type a dot or control-D on a line by itself to end the email>
-------------------------------------------------------------------------
(If you want to be a "trusted" user:)
6) sed -e 's/^Troot/&^MTjjg' /etc/sendmail.cf > /tmp/sendmail.cf
(where "jjg" is your login!)
(and where ^M is <control-V><return>
/usr/lib/sendmail -fspammer(_at_)spam(_dot_)com -F"Mr. Spam"
address1(_at_)company(_dot_)com\
-C /tmp/sendmail.cf
subject: This is a test of spam spoofing from <enter your Login>
to: address1(_at_)company(_dot_)com
x-reply: You may reply to <enter your Login> if desired
<type a blank line to separate the header>
Hello,
This is a test message of my procmail anti-spam filter.
I am spoofing an email address to see if procmail catches this.
This mail should look like it is...
From: spammer(_at_)spam(_dot_)com
To: address1(_at_)company(_dot_)com
Please delete and ignore; thanks,
. <type a dot or control-D on a line by itself to end the email>
-------------------------------------------------------------------------
My question is:
Q: What are other efficient examples to test anti-spam filters?
--
John Gianni
No, I am not a spammer - I want to do two things:
A) Better understand how spam is getting to me and how to fight back
B) Test my anti-spam filters (Current version: mail
"jjg(_at_)cadence(_dot_)com"
with a subject line of "send rc.spammers")