Re: sa-update fails - no DNS for updates.spamassassin.org

看板FB_questions作者時間11年前 (2014/06/11 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
On Tuesday 10 June 2014 13:13:33 RW wrote: > The two DNS lookups that failed aren't supposed to work anyway. If > the problem persists try this: > > > $ host -t txt mirrors.updates.spamassassin.org > mirrors.updates.spamassassin.org descriptive text > "http://spamassassin.apache.org/updates/MIRRORED.BY" > > $ host -t txt 0.4.3.updates.spamassassin.org > 0.4.3.updates.spamassassin.org is an alias for > 2.3.3.updates.spamassassin.org. 2.3.3.updates.spamassassin.org > descriptive text "1588424" The host commands give the same results for me too but sa-update fails. It seems to be happening in this section of code (lines 539 to 547): if (!defined $newV) { my @mirs = do_dns_query("mirrors.$channel"); if (defined shift @mirs) { dbg("channel: no updates available, skipping channel"); } else { channel_failed("channel: no 'mirrors.$channel' record found"); } next; } At this point $newV is defined but is an empty string so do_dns_query is invoked to lookup the TXT record for mirrors.updates.spamassassin.org which returns an empty arrayand results in channel_failed("channel: no 'mirrors.$channel' record found"). -- Mike Clarke _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JbqVWQm (FB_questions)
文章代碼(AID): #1JbqVWQm (FB_questions)