At 05:54 PM 6/20/2003 +0100, Jim Ford wrote:
I've now installed Net:DNS, and put 'dns_available test' in my user_prefs.
I've not seen any sign of it working in my maillog yet (I've got the -D
option for spamd), how can I tell if it's working, please?

The fastest way is to fire up the plain command-line version and look at the debug output there. You can tell almost immediately if DNS is being used this way. (note: sample-spam.txt comes in the SA tarball, but you can use any file containing a RFC 822 type email)


spamassassin -tD <sample-spam.txt

And look for debug output similar to this at the top:

debug: is Net::DNS::Resolver unavailable? 0
debug: trying (3) kernel.org...
debug: looking up MX for 'kernel.org'
debug: MX for 'kernel.org' exists? 1
debug: MX lookup of kernel.org succeeded => Dns available (set dns_available to hard code)
debug: is DNS available? 1


Note that what MX it tries may vary, but the first line and the last line in the list are very important.



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to