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

          Priority: P2
            Bug ID: 6841
          Assignee: [email protected]
           Summary: Spamd cannot listen to more than one IP address (or to
                    v4/v6 at the same time)
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          Hardware: PC
            Status: NEW
           Version: 3.3.2
         Component: spamc/spamd
           Product: Spamassassin

Pretty simple, but a big one:

Spamd cannot listen to more than one (specified) IP address.  If you specify
multiple -i options, only the last one is used.  While it's possible to spin up
multiple spamd processes, each bound to a separate IP address, it feels as
though there's a cleaner way to do this.

The larger problem here is that if you specify simply "-i" spamd will not
listen on "all addresses" but only "all ipv4 addresses".  If you specify
something like "-i localhost" or "-i [hostname]" this will only be a
single-stack bind according to the standard lookup rules (typically v4 first,
then v6).

To explain this further, assume you're doing your spamc calls with -d hostname.
 This should simply work in the same way (if there's a AAAA and the host has v6
connectivity, use it, else use v4).

I've seen other daemons able to bind to * on TCP46 (dual-stack).  If this is
too complicated to do in current spamd code, then it should be noted in the
docs section and perhaps the issues of potential file locking should be noted.

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

Reply via email to