You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2012/09/26 07:58:35 UTC

[Bug 6842] New: Spamc should have an option to only try v4 addresses when hostnames are specified with -d.

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

          Priority: P2
            Bug ID: 6842
          Assignee: dev@spamassassin.apache.org
           Summary: Spamc should have an option to only try v4 addresses
                    when hostnames are specified with -d.
          Severity: normal
    Classification: Unclassified
                OS: Mac OS X
          Reporter: sabugs@gushi.org
          Hardware: PC
            Status: NEW
           Version: 3.3.2
         Component: spamc/spamd
           Product: Spamassassin

This is a pretty simple enhancement.

Imagine a setup where spamd lives on a different host, but because of a
previously-filed-bug, only listens on one address class -- and the admin has
chosen to use v4.  (Perhaps by specifying -i without an ip address).

What I'm suggesting is an enhancement to discard AAAA records from the
semantics used to look up addresses for -d.  This is useful both where v4
connectivity is more stable than v6 (for example, when tunnels are in play),
while still benefitting from the benefits of hostname-mapping rather than
embedding an ip in a config file.

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

[Bug 6842] Spamc should have an option to only try v4 addresses when hostnames are specified with -d.

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6842

Kevin A. McGrail <km...@pccc.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kmcgrail@pccc.com
   Target Milestone|Undefined                   |3.4.0
           Severity|normal                      |blocker

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

[Bug 6842] Spamc should have an option to only try v4 addresses when hostnames are specified with -d.

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6842

Mark Martinec <Ma...@ijs.si> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Martinec <Ma...@ijs.si> ---
Done, closing.

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

[Bug 6842] Spamc should have an option to only try v4 addresses when hostnames are specified with -d.

Posted by bu...@bugzilla.spamassassin.org.
https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6842

--- Comment #1 from Mark Martinec <Ma...@ijs.si> ---
Created attachment 5096
  --> https://issues.apache.org/SpamAssassin/attachment.cgi?id=5096&action=edit
Add options -4 and -6 to spamc

Bug 6842 - Spamc should have an option to only try v4 addresses
when hostnames are specified with -d ...
implemented options -4 and -6 to spamc
  Sending spamc/libspamc.c
  Sending spamc/libspamc.h
  Sending spamc/spamc.c
Committed revision 1392699.


> This is a pretty simple enhancement

It turned out not to be so trivial, lots of details to handle  :)

Please try it out: either the spamc from trunk, or apply the attached patch
to earlier versions.

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