Am 27.10.2015 um 21:02 schrieb j...@lexoncom.com:
SO i setup the dns server. Can i force spam assassin to use localhost for dns or I must reconfigure the host?
i recommend to read at least basic docsgoogle "spamassassin dns" leads to http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html and CTRL+F "dns" leads to the following (the docs would also have mentioned that you need at least 200 spam *and* ham samples for bayes to work)
dns_server ip-addr-port (default: entries provided by Net::DNS)Specifies an IP address of a DNS server, and optionally its port number. The dns_server directive may be specified multiple times, each entry adding to a list of available resolving name servers. The ip-addr-port argument can either be an IPv4 or IPv6 address, optionally enclosed in brackets, and optionally followed by a colon and a port number. In absence of a port number a standard port number 53 is assumed. When an IPv6 address is specified along with a port number, the address must be enclosed in brackets to avoid parsing ambiguity regarding a colon separator. A scoped link-local IP address is allowed (assuming underlying modules allow it).
Examples : dns_server 127.0.0.1 dns_server 127.0.0.1:53 dns_server [127.0.0.1]:53 dns_server [::1]:53 dns_server fe80::1%lo0 dns_server [fe80::1%lo0]:53
In absence of dns_server directives, the list of name servers is provided by Net::DNS module, which typically obtains the list from /etc/resolv.conf, but this may be platform dependent. Please consult the Net::DNS::Resolver documentation for details.
On Tue, 27 Oct 2015, j...@lexoncom.com wrote:X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_00,HTML_MESSAGE, RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK,SPF_HELO_PASS, SPF_PASS,URIBL_BLOCKED,URIBL_DBL_SPAM autolearn=no autolearn_force=no version=3.4.0URIBL_BLOCKED. Set up a local recursing (NOT forwarding!) DNS server for SpamAssassin to use. You're apparently doing DNS blacklist queries via a public DNS server (your ISPs?) and the aggregate traffic level is exceeding the URIBL free usage limits.
signature.asc
Description: OpenPGP digital signature