On 12/02/2014 01:16 PM, Axb wrote:
On 12/02/2014 12:32 PM, Matteo Dessalvi wrote:
Hi all.

I have a short question about the dns_server option of SA.
Is this option used when SA is called from Amavis and there
isn't any spamd process running?

To be more clear: should I also be forced to add the IP
address of the caching DNS server to /etc/resolv.conf
or the option would be sufficient?

Thanks in advance.

Best regards,
Matteo

No matter how hard I look, I can't find a dns_server option in SA's conf

did you mean  dns_available  ??

(
http://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.txt )

or is this an Amavis option (I don't know Amavis)



doh..

there it is

dns_server

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,

        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

        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.


You don't need to specify one unless you need the specials in the config

Reply via email to