https://bz.apache.org/SpamAssassin/show_bug.cgi?id=7703

            Bug ID: 7703
           Summary: sa-update aborts unnecessarily on IPv6-only hosts with
                    valid proxy
           Product: Spamassassin
           Version: 3.4.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sa-update
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: Undefined

Created attachment 5647
  --> https://bz.apache.org/SpamAssassin/attachment.cgi?id=5647&action=edit
Patch to ignore check_mirror_af result if proxy is configured

We are using sa-update on a mail filter host that only has IPv6 to connect to
the outside. Our update channel, on the other hand, only supports IPv4.

To solve this problem, a Squid proxy server was installed on the gateway. It
serves as an HTTP proxy on IPv6 on the LAN and can connect to the outside with
IPv4.


Current result:

sa-update exits with

  dbg: generic: reject mirror http://www.spamassassin.heinlein-support.de: no
common address family (IPv6)   
channel: could not find working mirror, channel failed 


Expected result:

sa-update should ignore the situation because it has an HTTP proxy to use, so
it does not need to open a socket to the mirror itself.


The issue is fixed by the attached patch. It ignores the check_mirror_af result
if a proxy for the mirror's protocol is defined in the environment.

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

Reply via email to