[Mimedefang] [UPDATE] How to test spamassassin's configuration

Warren Liang warren.liang at cox.net
Wed Oct 6 02:32:56 EDT 2004


Good Evening,

I received a reply from Matthew:
+++++++++++++++++++++++++++++++++++++++++++++++++++
I believe Spam:... FRIEND entries *only* apply to
sendmail-native anti-spam things like FEATURE(`enhdnsbl', `...')
I don't spamfriend status is made directly available to milters
You could probably query the access.db directly from
mimedefang-filter, though.

Copy the GTUBE string into an email and send it to the recipient - that
string is worth an automatic 1000 spam points if the email passes through
SpamAssassin.
+++++++++++++++++++++++++++++++++++++++++++++++++++
I send an email with GTUBE string to msmith at abc.com. Apparently, the email
was intercepted and discard by spamassassin/Mimedefang. Mail log shows:
...
sendmail[28058]: [ID 801593 mail.info] i9665LmK028058: Milter: data, discard

Second try:
I add the following entry to file /etc/mail/spamassassin/sa-mimedefang.cf:
whitelist_to	msmith at abc.com

and then send an email to it with GTUBE string. Same result, the email was
blocked.

According to Matthew's recommendation, "query access.db directly from
mimedefang-filter", does it mean that I need to add Perl code to
mimedefang-filter file?

Thanks in advance.
Warren
==============================================
Here is my original posting:
 I like to bypass spam checking for recipients msmith at abc.com and the
 entire domain xyz.com. I add FEATURE(`delay_check', `firend') on
 sendmail.mc and rebuild sendmail.cf, also, add the user's id on
 access file as: ... Spam:msmith at abc.com	FRIEND
 Spam:xyz.com			FRIEND
 ...
 rebuild access db as well.

 How can I send a should-be spamed email to those recipients
 to verify that my configuration is working?
===============================================



More information about the MIMEDefang mailing list