testing spamdomain

Top Page
Delete this message
Reply to this message
Author: Tim Patterson
Date:  
To: exim-users
Old-Topics: Interpreting rejectlog "recipients from..." entries.
Subject: testing spamdomain
Hello,

I am using the following line in exim.conf to filter entire domains
by name.

sender_host_reject_recipients=partial-lsearch;/etc/mail/spamdomains
with entries such as

*.spamdomain.com
*.cyberporn.com

======

I suspect that my filter is not working the way I expect, but the
real question is: How does one test a specific address against
the /etc/mail/spamdomains file and determine success or failure.

I know how to: exim -bt /etc/mail/spamfilter testmail
But this does not *seem* to solve testing of a spamdomain file or
spamdomain.db


I am looking for something like:

exim -test_spam_file /etc/mail/spamdomains somebody@???

Its probably right in front of me, but could someone push me a bit.

Thank you,

Tim Patterson
@harborside





--
* This is sent by the exim-users mailing list.  To unsubscribe send a
    mail with subject "unsubscribe" to exim-users-request@???
* Exim information can be found at http://www.exim.org/