Hi!
I have problem with sa-update and my own channel. sa-update queries for
A record of strange domain:

# /usr/bin/sa-update --channel sa.mejor.pl --no-gpg -vv
DNS TXT query: 2.4.3.sa.mejor.pl -> 3209
Update available for channel sa.mejor.pl: -1 -> 3209
DNS A query update.sa.mejor.pl/sa-updates failed: NXDOMAIN
DNS AAAA query update.sa.mejor.pl/sa-updates failed: NXDOMAIN
channel: could not find working mirror, channel failed
Update failed, exiting with code 4

and this is what logged local resolver:
2018-12-03T15:35:42.613624+01:00 jowisz unbound: [8540:0] info:
127.0.0.1 update.sa.mejor.pl?sa-updates. A IN
2018-12-03T15:35:42.617145+01:00 jowisz unbound: [8540:0] info:
127.0.0.1 update.sa.mejor.pl?sa-updates. AAAA IN

Why sa-update queries for update.sa.mejor.pl?sa-updates (or
update.sa.mejor.pl/sa-updates) domain?

I just run sa-update in debug mode, I paste relevant parts:
[...]
Dec  3 15:40:10.955 [24739] dbg: channel: attempting channel sa.mejor.pl
Dec  3 15:40:10.955 [24739] dbg: channel: using existing directory
/var/lib/spamassassin/3.004002/sa_mejor_pl
Dec  3 15:40:10.955 [24739] dbg: channel: channel cf file
/var/lib/spamassassin/3.004002/sa_mejor_pl.cf
Dec  3 15:40:10.955 [24739] dbg: channel: channel pre file
/var/lib/spamassassin/3.004002/sa_mejor_pl.pre
DNS TXT query: 2.4.3.sa.mejor.pl -> 3209
Dec  3 15:40:10.966 [24739] dbg: dns: 2.4.3.sa.mejor.pl => 3209, parsed
as 3209
Update available for channel sa.mejor.pl: -1 -> 3209
Dec  3 15:40:10.967 [24739] dbg: channel: preparing temp directory for
new channel
Dec  3 15:40:10.967 [24739] dbg: channel: created tmp directory
/tmp/.spamassassin24739FTCF1ttmp
Dec  3 15:40:10.967 [24739] dbg: generic: lint checking site pre files
once before attempting channel updates
[...]
Dec  3 15:40:11.189 [24739] dbg: channel: protocol family available:
inet,inet6
Dec  3 15:40:11.189 [24739] dbg: channel: reading MIRRORED.BY file
/var/lib/spamassassin/3.004002/sa_mejor_pl/MIRRORED.BY
Dec  3 15:40:11.189 [24739] dbg: channel: parsing MIRRORED.BY file for
channel sa.mejor.pl
Dec  3 15:40:11.189 [24739] dbg: channel: found mirror
http://update.sa.mejor.pl/sa-updates/
Dec  3 15:40:11.193 [24739] dbg: dns: query failed:
update.sa.mejor.pl/sa-updates => NXDOMAIN
DNS A query update.sa.mejor.pl/sa-updates failed: NXDOMAIN
Dec  3 15:40:11.194 [24739] dbg: dns: query failed:
update.sa.mejor.pl/sa-updates => NXDOMAIN
DNS AAAA query update.sa.mejor.pl/sa-updates failed: NXDOMAIN
Dec  3 15:40:11.195 [24739] dbg: generic: reject mirror
http://update.sa.mejor.pl/sa-updates: no common address family (IPv4 IPv6)
channel: could not find working mirror, channel failed

# cat /var/lib/spamassassin/3.004002/sa_mejor_pl/MIRRORED.BY
http://update.sa.mejor.pl/sa-updates/

Something changed how channel should be configured beetwen 3.4.1 and 3.4.2?

Marcin

Reply via email to