https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6841

--- Comment #10 from Mark Martinec <[email protected]> ---
Created attachment 5100
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5100&action=edit
Add options -4 and -6 to spamassassin, use IO::Socket::IP for DNS if available

> What would still be desired is:
> - extend the use of IO::Socket::IP to the async DNS resolver
>   and to a plugin like DCC

Ok, here comes the rest - attached.

Bug 6841: Add options -4 and -6 to spamassassin,
use IO::Socket::IP for DNS if available
  Sending lib/Mail/SpamAssassin/DnsResolver.pm
  Sending lib/Mail/SpamAssassin.pm
  Sending lib/spamassassin-run.pod
  Sending spamassassin.raw
Committed revision 1398905.


Changes:

- adds option -4 to spamassassin as an alias for --ipv4only
  for consistency with spamd, spamc and other network tools;
- adds option -6 to spamassassin, mirroring that of spamd;
- adjust DnsResolver.pm to understand force_ipv4 and force_ipv6
- extend DnsResolver.pm to use a module IO::Socket::IP if available,
  or fall back to IO::Socket::INET6, or else to IO::Socket::INET

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to