You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Ralph Seichter <sp...@seichter.de> on 2012/12/19 20:58:08 UTC

sa-update has not updated anything since SpamAssassin was installed several weeks ago

Hi guys,

I wonder why sa-update never updates any rules one of my SpamAssassin
installations on Gentoo Linux. Running "sa-update -D" returns these
messages:

dbg: channel: attempting channel updates.spamassassin.org
dbg: channel: update directory 
/var/lib/spamassassin/3.003002/updates_spamassassin_org
dbg: channel: channel cf file 
/var/lib/spamassassin/3.003002/updates_spamassassin_org.cf
dbg: channel: channel pre file 
/var/lib/spamassassin/3.003002/updates_spamassassin_org.pre
dbg: channel: metadata version = 1418219
dbg: dns: 2.3.3.updates.spamassassin.org => 3.3, parsed as 3
dbg: channel: current version is 1418219, new version is 3, skipping 
channel
dbg: diag: updates complete, exiting with code 1

Does this mean that SA believes that my local ruleset version is 
1418219
(which matches what I see in updates_spamassassin_org.cf), while the
ruleset available for download is version 3? Am I perhaps experiencing
DNS issues? BTW, I'm using dev-perl/Net-DNS-0.700.0, so the thread
"sa-update don't update" of 2012-12-13 probably does not apply?

Thanks for your help,

-Ralph

Re: sa-update has not updated anything since SpamAssassin was installed several weeks ago (SOLVED)

Posted by Ralph Seichter <sp...@seichter.de>.
On 2012-12-20 02:46, Mark Martinec wrote:

> Net::DNS 0.69 and 0.70 are incompatible with sa-update from
> SpamAssassin 3.3.2 or earlier.

I reverted to Net::DNS 0.68, et voilĂ , it works. Thanks!

-Ralph


Re: sa-update has not updated anything since SpamAssassin was installed several weeks ago

Posted by Mark Martinec <Ma...@ijs.si>.
Ralph,

> Am I perhaps experiencing DNS issues?
> BTW, I'm using dev-perl/Net-DNS-0.700.0, so the thread
> "sa-update don't update" of 2012-12-13 probably does not apply?

It does apply.  Go for Net::DNS 0.71, or stick with 0.68.

Net::DNS 0.69 and 0.70 are incompatible with sa-update from
SpamAssassin 3.3.2 or earlier.

  Mark

Re: sa-update has not updated anything since SpamAssassin was installed several weeks ago

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 12/19/2012 3:11 PM, Ralph Seichter wrote:
> Looks ok to me, and 1423347 is greater than 1418219, so SpamAssassin
> should realize that there are rules to be updated.
Possible you can try an older Net::DNS and see if it resolves the issue?

Re: sa-update has not updated anything since SpamAssassin was installed several weeks ago

Posted by Ralph Seichter <sp...@seichter.de>.
On 2012-12-19 21:00, Kevin A. McGrail wrote:

> dig -t txt 2.3.3.updates.spamassassin.org

; <<>> DiG 9.9.2 <<>> -t txt 2.3.3.updates.spamassassin.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 15944
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;2.3.3.updates.spamassassin.org.        IN      TXT

;; ANSWER SECTION:
2.3.3.updates.spamassassin.org. 3271 IN TXT     "1423347"

;; Query time: 0 msec
;; SERVER: 213.133.100.100#53(213.133.100.100)
;; WHEN: Wed Dec 19 21:05:30 2012
;; MSG SIZE  rcvd: 79

Looks ok to me, and 1423347 is greater than 1418219, so SpamAssassin
should realize that there are rules to be updated.

-Ralph


Re: sa-update has not updated anything since SpamAssassin was installed several weeks ago

Posted by "Kevin A. McGrail" <KM...@PCCC.com>.
On 12/19/2012 2:58 PM, Ralph Seichter wrote:
> Hi guys,
>
> I wonder why sa-update never updates any rules one of my SpamAssassin
> installations on Gentoo Linux. Running "sa-update -D" returns these
> messages:
>
> dbg: channel: attempting channel updates.spamassassin.org
> dbg: channel: update directory 
> /var/lib/spamassassin/3.003002/updates_spamassassin_org
> dbg: channel: channel cf file 
> /var/lib/spamassassin/3.003002/updates_spamassassin_org.cf
> dbg: channel: channel pre file 
> /var/lib/spamassassin/3.003002/updates_spamassassin_org.pre
> dbg: channel: metadata version = 1418219
> dbg: dns: 2.3.3.updates.spamassassin.org => 3.3, parsed as 3
> dbg: channel: current version is 1418219, new version is 3, skipping 
> channel
> dbg: diag: updates complete, exiting with code 1
>
> Does this mean that SA believes that my local ruleset version is 1418219
> (which matches what I see in updates_spamassassin_org.cf), while the
> ruleset available for download is version 3? Am I perhaps experiencing
> DNS issues?
If you run


dig -t txt 2.3.3.updates.spamassassin.org

do you see:

;; ANSWER SECTION:
2.3.3.updates.spamassassin.org. 3600 IN TXT     "1423347"



> BTW, I'm using dev-perl/Net-DNS-0.700.0, so the thread
> "sa-update don't update" of 2012-12-13 probably does not apply?
Sounds like that might not be the case...

-- 
*Kevin A. McGrail*
President

Peregrine Computer Consultants Corporation
3927 Old Lee Highway, Suite 102-C
Fairfax, VA 22030-2422

http://www.pccc.com/

703-359-9700 x50 / 800-823-8402 (Toll-Free)
703-359-8451 (fax)
KMcGrail@PCCC.com <ma...@pccc.com>