You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by realshock <wa...@gmail.com> on 2009/04/13 20:11:05 UTC

sa-update issue?

hello all
I recently updated spamassassin form 3.1 to 3.2.5 since then, I've been
hammered by spam. I found out later that sa-update is not updating the
rules: 
###############
.
.
.
.
34, skipping channel
[16467] dbg: channel: attempting channel
70_sare_genlsubj2.cf.sare.sa-update.tech.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sarenlsubj2_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_lsubj2_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sarenlsubj2_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200512270000
[16467] dbg: dns: 5.2.3.70_sare_genlsubj2.cf.sare.sa-update.dostech.net =>
202270000, parsed as 200512270000
[16467] dbg: channel: current version is 200512270000, new version is
200512200, skipping channel
[16467] dbg: channel: attempting channel
70_sare_genlsubj3.cf.sare.sa-update.tech.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sarenlsubj3_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_lsubj3_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sarenlsubj3_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200512270000
[16467] dbg: dns: 5.2.3.70_sare_genlsubj3.cf.sare.sa-update.dostech.net =>
202270000, parsed as 200512270000
[16467] dbg: channel: current version is 200512270000, new version is
200512200, skipping channel
[16467] dbg: channel: attempting channel
72_sare_bml_post25x.cf.sare.sa-updatostech.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/72_sarel_post25x_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/72_sare__post25x_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/72_sarel_post25x_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200705210700
[16467] dbg: dns: 5.2.3.72_sare_bml_post25x.cf.sare.sa-update.dostech.net =>
705210700, parsed as 200705210700
[16467] dbg: channel: current version is 200705210700, new version is
200705200, skipping channel
[16467] dbg: channel: attempting channel
70_sare_header0.cf.sare.sa-update.doch.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareader0_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_der0_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareader0_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200605212000
[16467] dbg: dns: 5.2.3.70_sare_header0.cf.sare.sa-update.dostech.net =>
200612000, parsed as 200605212000
[16467] dbg: channel: current version is 200605212000, new version is
200605200, skipping channel
[16467] dbg: channel: attempting channel
99_sare_fraud_post25x.cf.sare.sa-upd.dostech.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/99_sareaud_post25x_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/99_sare_ud_post25x_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/99_sareaud_post25x_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200506020000
[16467] dbg: dns: 5.2.3.99_sare_fraud_post25x.cf.sare.sa-update.dostech.net
=00506020000, parsed as 200506020000
[16467] dbg: channel: current version is 200506020000, new version is
200506000, skipping channel
[16467] dbg: channel: attempting channel
70_sare_header1.cf.sare.sa-update.doch.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareader1_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_der1_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareader1_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200605212000
[16467] dbg: dns: 5.2.3.70_sare_header1.cf.sare.sa-update.dostech.net =>
200612000, parsed as 200605212000
[16467] dbg: channel: current version is 200605212000, new version is
200605200, skipping channel
[16467] dbg: channel: attempting channel
70_sare_header2.cf.sare.sa-update.doch.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareader2_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_der2_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareader2_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200605212000
[16467] dbg: dns: 5.2.3.70_sare_header2.cf.sare.sa-update.dostech.net =>
200612000, parsed as 200605212000
[16467] dbg: channel: current version is 200605212000, new version is
200605200, skipping channel
[16467] dbg: channel: attempting channel
70_sare_header3.cf.sare.sa-update.doch.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareader3_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_der3_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareader3_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200810271100
[16467] dbg: dns: 5.2.3.70_sare_header3.cf.sare.sa-update.dostech.net =>
200871100, parsed as 200810271100
[16467] dbg: channel: current version is 200810271100, new version is
200810200, skipping channel
[16467] dbg: channel: attempting channel
70_sare_html0.cf.sare.sa-update.dost.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareml0_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_l0_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareml0_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200606040500
[16467] dbg: dns: 5.2.3.70_sare_html0.cf.sare.sa-update.dostech.net =>
200606500, parsed as 200606040500
[16467] dbg: channel: current version is 200606040500, new version is
200606000, skipping channel
[16467] dbg: channel: attempting channel
70_sare_html1.cf.sare.sa-update.dost.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareml1_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_l1_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareml1_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200606040500
[16467] dbg: dns: 5.2.3.70_sare_html1.cf.sare.sa-update.dostech.net =>
200606500, parsed as 200606040500
[16467] dbg: channel: current version is 200606040500, new version is
200606000, skipping channel
[16467] dbg: channel: attempting channel
70_sare_html2.cf.sare.sa-update.dost.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareml2_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_l2_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareml2_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200606040500
[16467] dbg: dns: 5.2.3.70_sare_html2.cf.sare.sa-update.dostech.net =>
200606500, parsed as 200606040500
[16467] dbg: channel: current version is 200606040500, new version is
200606000, skipping channel
[16467] dbg: channel: attempting channel
70_sare_html3.cf.sare.sa-update.dost.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareml3_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_l3_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareml3_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200606040500
[16467] dbg: dns: 5.2.3.70_sare_html3.cf.sare.sa-update.dostech.net =>
200606500, parsed as 200606040500
[16467] dbg: channel: current version is 200606040500, new version is
200606000, skipping channel
[16467] dbg: channel: attempting channel
70_sare_obfu.cf.sare.sa-update.dostenet
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sarefu_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_u_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sarefu_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200706050800
[16467] dbg: dns: 5.2.3.70_sare_obfu.cf.sare.sa-update.dostech.net =>
200706000, parsed as 200706050800
[16467] dbg: channel: current version is 200706050800, new version is
200706000, skipping channel
[16467] dbg: channel: attempting channel
70_sare_oem.cf.sare.sa-update.dostecet
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sarem_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare__cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sarem_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200512271200
[16467] dbg: dns: 5.2.3.70_sare_oem.cf.sare.sa-update.dostech.net =>
200512270, parsed as 200512271200
[16467] dbg: channel: current version is 200512271200, new version is
200512200, skipping channel
[16467] dbg: channel: attempting channel
70_sare_random.cf.sare.sa-update.dosh.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sarendom_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_dom_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sarendom_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200512121000
[16467] dbg: dns: 5.2.3.70_sare_random.cf.sare.sa-update.dostech.net =>
200511000, parsed as 200512121000
[16467] dbg: channel: current version is 200512121000, new version is
200512100, skipping channel
[16467] dbg: channel: attempting channel
70_sare_specific.cf.sare.sa-update.dech.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareecific_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_cific_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareecific_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200605280300
[16467] dbg: dns: 5.2.3.70_sare_specific.cf.sare.sa-update.dostech.net =>
200280300, parsed as 200605280300
[16467] dbg: channel: current version is 200605280300, new version is
200605200, skipping channel
[16467] dbg: channel: attempting channel
70_sare_spoof.cf.sare.sa-update.dost.net
[16467] dbg: channel: update directory
/var/lib/spamassassin/3.002005/70_sareoof_cf_sare_sa-update_dostech_net
[16467] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/70_sare_of_cf_sare_sa-update_dostech_net.cf
[16467] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/70_sareoof_cf_sare_sa-update_dostech_net.pre
[16467] dbg: channel: metadata version = 200701151000
[16467] dbg: dns: 5.2.3.70_sare_spoof.cf.sare.sa-update.dostech.net =>
200701000, parsed as 200701151000
[16467] dbg: channel: current version is 200701151000, new version is
200701100, skipping channel
[16467] dbg: diag: updates complete, exiting with code 1
[root@mailgw ~]#
#####################

here is the output from sa-update:

#######################

[root@mailgw]# sa-update -D
[17259] dbg: logger: adding facilities: all
[17259] dbg: logger: logging level is DBG
[17259] dbg: generic: SpamAssassin version 3.2.5
[17259] dbg: config: score set 0 chosen.
[17259] dbg: dns: is Net::DNS::Resolver available? yes
[17259] dbg: dns: Net::DNS version: 0.57
[17259] dbg: generic: sa-update version svn607589
[17259] dbg: generic: using update directory: /var/lib/spamassassin/3.002005
[17259] dbg: diag: perl platform: 5.008008 linux
[17259] dbg: diag: module installed: Digest::SHA1, version 2.10
[17259] dbg: diag: module installed: HTML::Parser, version 3.54
[17259] dbg: diag: module installed: Net::DNS, version 0.57
[17259] dbg: diag: module installed: MIME::Base64, version 3.05
[17259] dbg: diag: module installed: DB_File, version 1.814
[17259] dbg: diag: module installed: Net::SMTP, version 2.29
[17259] dbg: diag: module not installed: Mail::SPF ('require' failed)
[17259] dbg: diag: module installed: Mail::SPF::Query, version 1.999001
[17259] dbg: diag: module installed: IP::Country::Fast, version 604.001
[17259] dbg: diag: module installed: Razor2::Client::Agent, version 2.82
[17259] dbg: diag: module installed: Net::Ident, version 1.20
[17259] dbg: diag: module installed: IO::Socket::INET6, version 2.51
[17259] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
[17259] dbg: diag: module installed: Compress::Zlib, version 1.42
[17259] dbg: diag: module installed: Time::HiRes, version 1.68
[17259] dbg: diag: module installed: Mail::DomainKeys, version 1.0
[17259] dbg: diag: module installed: Mail::DKIM, version 0.33
[17259] dbg: diag: module installed: DBI, version 1.52
[17259] dbg: diag: module installed: Getopt::Long, version 2.35
[17259] dbg: diag: module installed: LWP::UserAgent, version 2.033
[17259] dbg: diag: module installed: HTTP::Date, version 1.47
[17259] dbg: diag: module installed: Archive::Tar, version 1.29
[17259] dbg: diag: module installed: IO::Zlib, version 1.04
[17259] dbg: diag: module not installed: Encode::Detect ('require' failed)
[17259] dbg: gpg: Searching for 'gpg'
[17259] dbg: util: current PATH is:
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
[17259] dbg: util: executable for gpg was found at /usr/bin/gpg
[17259] dbg: gpg: found /usr/bin/gpg
[17259] dbg: gpg: release trusted key id list:
5E541DC959CB8BAC7C78DFDC4056A61A5244EC45
26C900A46DD40CD5AD24F6D7DEE01987265FA05B
0C2B1D7175B852C64B3CDC716C55397824F434CE
[17259] dbg: channel: attempting channel updates.spamassassin.org
[17259] dbg: channel: update directory
/var/lib/spamassassin/3.002005/updates_spamassassin_org
[17259] dbg: channel: channel cf file
/var/lib/spamassassin/3.002005/updates_spamassassin_org.cf
[17259] dbg: channel: channel pre file
/var/lib/spamassassin/3.002005/updates_spamassassin_org.pre
[17259] dbg: channel: metadata version = 759778
[17259] dbg: dns: 5.2.3.updates.spamassassin.org => 759778, parsed as 759778
[17259] dbg: channel: current version is 759778, new version is 759778,
skipping channel
[17259] dbg: diag: updates complete, exiting with code 1
-- 
View this message in context: http://www.nabble.com/sa-update-issue--tp23026282p23026282.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


RE: sa-update issue?

Posted by John Hardin <jh...@impsec.org>.
On Mon, 13 Apr 2009, realshock wrote:

> drwxrw-rw- 34 root root 4096 Apr 13 10:59 3.002005

Those permissions look wrong.


-- 
  John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
  jhardin@impsec.org    FALaholic #11174     pgpk -a jhardin@impsec.org
  key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
   USMC Rules of Gunfighting #7: In ten years nobody will remember the
   details of caliber, stance, or tactics. They will only remember who
   lived.
-----------------------------------------------------------------------
  Today: Thomas Jefferson's 266th Birthday

RE: sa-update issue?

Posted by realshock <wa...@gmail.com>.
I'm running sa-update as root: 
######
[root@mailgw spamassassin]# ls -al
total 40
drwxr-xr-x  4 root root 4096 Apr 13 10:58 .
drwxr-xr-x 30 root root 4096 Nov 15 15:46 ..
-rw-r--r--  1 root root 9067 Apr  8 18:53 20_dnsbl_test.cf
drwxr-xr-x 35 root root 4096 Apr 11 04:02 3.001008
drwxrw-rw- 34 root root 4096 Apr 13 10:59 3.002005
######



Bowie Bailey wrote:
> 
> realshock wrote:
>> hello all
>> I recently updated spamassassin form 3.1 to 3.2.5 since then, I've
>> been hammered by spam. I found out later that sa-update is not
>> updating the rules:
> 
>   log samples removed...
> 
>> Any clue on how to fix this?
>> I'd appreciate any help
> 
> What user do you run sa-update as?  Does that user have permission to
> write to /var/lib/spamassassin/3.002005?
> 
> -- 
> Bowie
> 
> 

-- 
View this message in context: http://www.nabble.com/sa-update-issue--tp23026282p23026906.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.


RE: sa-update issue?

Posted by realshock <wa...@gmail.com>.
I'm running sa-update as root: 
######
[root@mailgw spamassassin]# ls -al
total 40
drwxr-xr-x  4 root root 4096 Apr 13 10:58 .
drwxr-xr-x 30 root root 4096 Nov 15 15:46 ..
-rw-r--r--  1 root root 9067 Apr  8 18:53 20_dnsbl_test.cf
drwxr-xr-x 35 root root 4096 Apr 11 04:02 3.001008
drwxrw-rw- 34 root root 4096 Apr 13 10:59 3.002005
######



Bowie Bailey wrote:
> 
> realshock wrote:
>> hello all
>> I recently updated spamassassin form 3.1 to 3.2.5 since then, I've
>> been hammered by spam. I found out later that sa-update is not
>> updating the rules:
> 
>   log samples removed...
> 
>> Any clue on how to fix this?
>> I'd appreciate any help
> 
> What user do you run sa-update as?  Does that user have permission to
> write to /var/lib/spamassassin/3.002005?
> 
> -- 
> Bowie
> 
> 

-- 
View this message in context: http://www.nabble.com/sa-update-issue--tp23026282p23026905.html
Sent from the SpamAssassin - Users mailing list archive at Nabble.com.