OK, I'll start over, see below.

-Grant


----- Original Message ----- From: "Michael Scheidell" <list-s...@secnap.com>
To: <users@spamassassin.apache.org>
Sent: Friday, July 23, 2010 4:12 PM
Subject: Re: sa-update


On 7/23/10 3:57 PM, Grant Peel wrote:\

Does anyone know where else I might search to find the answer to this delema?

I missed the original thread.

im the ports maintainer for freebsd SA.

start over:

freebsd 3.2.x put the FACTORY sigs in /usr/local/share/spamassassin
user configs are in /usr/local/etc/mail/spamassassin

sa-update (automagicly) puts updated rules in /var/db/spamassassin/{saversion}/updates_spamassassin_org

for 3.3x, SA does NOT have ANY factory sigs, so, /usr/local/share/spamassassin isn't used.

example:

freebsd 7.1, using sa 3.31:

 pwd
/var/db/spamassassin/3.003001
 ls -lt
total 10

drwxr-xr-x  2 root  wheel  2048 Jul  5 03:09 updates_spamassassin_org
-rw-r--r--  1 root  wheel  2537 Jul  5 03:09 updates_spamassassin_org.cf

ls updates_spamassassin_org.cf
63 files.

-Grant


______________________________________________________________________
This email has been scanned and certified safe by SpammerTrap(r). For Information please see http://www.secnap.com/products/spammertrap/
______________________________________________________________________



I have a brand new build of FreeBSD 8.0 p#3

Spamassassin installed from ports:

constellation# spamassassin -V
SpamAssassin version 3.2.5
 running on Perl version 5.8.9

I have the rules in /usr/local/share/spamassassin:

constellation# pwd
/usr/local/share/spamassassin
constellation# ls -la
total 632
drwxr-xr-x   2 root  wheel    1536 Dec 29  2009 .
drwxr-xr-x  39 root  wheel    1024 Jul 10 12:09 ..
-rw-r--r--   1 root  wheel    5695 Jul 12 10:58 10_default_prefs.cf
-rw-r--r--   1 root  wheel    7519 Dec 29  2009 20_advance_fee.cf
-rw-r--r--   1 root  wheel    6789 Dec 29  2009 20_body_tests.cf
-rw-r--r--   1 root  wheel    1904 Dec 29  2009 20_compensate.cf
-rw-r--r--   1 root  wheel   14127 Dec 29  2009 20_dnsbl_tests.cf
-rw-r--r--   1 root  wheel   15008 Dec 29  2009 20_drugs.cf
-rw-r--r--   1 root  wheel   11034 Dec 29  2009 20_dynrdns.cf
-rw-r--r--   1 root  wheel    8396 Dec 29  2009 20_fake_helo_tests.cf
-rw-r--r--   1 root  wheel   24703 Dec 29  2009 20_head_tests.cf
-rw-r--r--   1 root  wheel   10490 Dec 29  2009 20_html_tests.cf
-rw-r--r--   1 root  wheel    5300 Dec 29  2009 20_imageinfo.cf
-rw-r--r--   1 root  wheel    3340 Dec 29  2009 20_meta_tests.cf
-rw-r--r--   1 root  wheel    2534 Dec 29  2009 20_net_tests.cf
-rw-r--r--   1 root  wheel    8136 Dec 29  2009 20_phrases.cf
-rw-r--r--   1 root  wheel    2072 Dec 29  2009 20_porn.cf
-rw-r--r--   1 root  wheel   16332 Dec 29  2009 20_ratware.cf
-rw-r--r--   1 root  wheel    5490 Dec 29  2009 20_uri_tests.cf
-rw-r--r--   1 root  wheel   18161 Dec 29  2009 20_vbounce.cf
-rw-r--r--   1 root  wheel    2586 Dec 29  2009 23_bayes.cf
-rw-r--r--   1 root  wheel    1557 Dec 29  2009 25_accessdb.cf
-rw-r--r--   1 root  wheel    1549 Dec 29  2009 25_antivirus.cf
-rw-r--r--   1 root  wheel    1557 Dec 29  2009 25_asn.cf
-rw-r--r--   1 root  wheel    1322 Dec 29  2009 25_dcc.cf
-rw-r--r--   1 root  wheel    2197 Dec 29  2009 25_dkim.cf
-rw-r--r--   1 root  wheel    2139 Dec 29  2009 25_domainkeys.cf
-rw-r--r--   1 root  wheel    2942 Dec 29  2009 25_hashcash.cf
-rw-r--r--   1 root  wheel    1323 Dec 29  2009 25_pyzor.cf
-rw-r--r--   1 root  wheel    3402 Dec 29  2009 25_razor2.cf
-rw-r--r--   1 root  wheel    7652 Dec 29  2009 25_replace.cf
-rw-r--r--   1 root  wheel    2914 Dec 29  2009 25_spf.cf
-rw-r--r--   1 root  wheel    1781 Dec 29  2009 25_textcat.cf
-rw-r--r--   1 root  wheel    7628 Dec 29  2009 25_uribl.cf
-rw-r--r--   1 root  wheel   29525 Dec 29  2009 30_text_de.cf
-rw-r--r--   1 root  wheel   21950 Dec 29  2009 30_text_fr.cf
-rw-r--r--   1 root  wheel    1871 Dec 29  2009 30_text_it.cf
-rw-r--r--   1 root  wheel   23309 Dec 29  2009 30_text_nl.cf
-rw-r--r--   1 root  wheel   19182 Dec 29  2009 30_text_pl.cf
-rw-r--r--   1 root  wheel    3344 Dec 29  2009 30_text_pt_br.cf
-rw-r--r--   1 root  wheel   48254 Dec 29  2009 50_scores.cf
-rw-r--r--   1 root  wheel    1317 Dec 29  2009 60_awl.cf
-rw-r--r--   1 root  wheel    2785 Dec 29  2009 60_shortcircuit.cf
-rw-r--r--   1 root  wheel    5160 Dec 29  2009 60_whitelist.cf
-rw-r--r--   1 root  wheel    2547 Dec 29  2009 60_whitelist_dk.cf
-rw-r--r--   1 root  wheel    2571 Dec 29  2009 60_whitelist_dkim.cf
-rw-r--r--   1 root  wheel    3597 Dec 29  2009 60_whitelist_spf.cf
-rw-r--r--   1 root  wheel    1927 Dec 29  2009 60_whitelist_subject.cf
-rw-r--r--   1 root  wheel  112326 Dec 29  2009 72_active.cf
-rw-r--r--   1 root  wheel     810 Dec 29  2009 72_removed.cf
-rw-r--r--   1 root  wheel  101479 Dec 29  2009 languages
-rw-r--r--   1 root  wheel    4777 Dec 29  2009 sa-update-pubkey.txt
-rw-r--r--   1 root  wheel    1869 Dec 29  2009 user_prefs.template

I have the site wide configs in /etc/mail/spamassassin:

constellation# cd /etc/mail/spamassassin
constellation# pwd
/etc/mail/spamassassin
constellation# ls -la
total 20
drwxr-xr-x  3 root  wheel   512 Jul 12 10:45 .
drwxr-xr-x  3 root  wheel   512 Jun 12 11:27 ..
-rw-r--r--  1 root  wheel  1300 Jun 12 11:51 init.pre
-rw-r--r--  1 root  wheel  1358 Jul 12 10:17 local.cf
drwxr-xr-x  2 root  wheel   512 Apr 14  2008 sa-update-keys
-rw-r--r--  1 root  wheel  2603 Jun 12 11:51 v310.pre
-rw-r--r--  1 root  wheel  1195 Jun 12 11:51 v312.pre
-rw-r--r--  1 root  wheel  2416 Jun 12 11:51 v320.pre

When the nightly updates run, I am getting this output emailed to me:

[39634] dbg: logger: adding facilities: all
[39634] dbg: logger: logging level is DBG
[39634] dbg: generic: SpamAssassin version 3.2.5
[39634] dbg: config: score set 0 chosen.
[39634] dbg: dns: no ipv6
[39634] dbg: dns: is Net::DNS::Resolver available? yes
[39634] dbg: dns: Net::DNS version: 0.65
[39634] dbg: generic: sa-update version svn607589
[39634] dbg: generic: using update directory: /var/db/spamassassin/3.002005
[39634] dbg: diag: perl platform: 5.008009 freebsd
[39634] dbg: diag: module installed: Digest::SHA1, version 2.12
[39634] dbg: diag: module installed: HTML::Parser, version 3.62
[39634] dbg: diag: module installed: Net::DNS, version 0.65
[39634] dbg: diag: module installed: MIME::Base64, version 3.08
[39634] dbg: diag: module installed: DB_File, version 1.817
[39634] dbg: diag: module installed: Net::SMTP, version 2.31
[39634] dbg: diag: module not installed: Mail::SPF ('require' failed)
[39634] dbg: diag: module not installed: Mail::SPF::Query ('require' failed)
[39634] dbg: diag: module not installed: IP::Country::Fast ('require' failed)
[39634] dbg: diag: module installed: Razor2::Client::Agent, version 2.84
[39634] dbg: diag: module installed: Net::Ident, version 1.20
[39634] dbg: diag: module not installed: IO::Socket::INET6 ('require' failed)
[39634] dbg: diag: module installed: IO::Socket::SSL, version 1.30
[39634] dbg: diag: module installed: Compress::Zlib, version 2.015
[39634] dbg: diag: module installed: Time::HiRes, version 1.9715
[39634] dbg: diag: module not installed: Mail::DomainKeys ('require' failed)
[39634] dbg: diag: module not installed: Mail::DKIM ('require' failed)
[39634] dbg: diag: module installed: DBI, version 1.609
[39634] dbg: diag: module installed: Getopt::Long, version 2.37
[39634] dbg: diag: module installed: LWP::UserAgent, version 5.832
[39634] dbg: diag: module installed: HTTP::Date, version 5.831
[39634] dbg: diag: module installed: Archive::Tar, version 1.54
[39634] dbg: diag: module installed: IO::Zlib, version 1.10
[39634] dbg: diag: module installed: Encode::Detect, version 1.01
[39634] dbg: channel: attempting channel updates.spamassassin.org
[39634] dbg: channel: update directory /var/db/spamassassin/3.002005/updates_spamassassin_org [39634] dbg: channel: channel cf file /var/db/spamassassin/3.002005/updates_spamassassin_org.cf [39634] dbg: channel: channel pre file /var/db/spamassassin/3.002005/updates_spamassassin_org.pre
[39634] dbg: dns: 5.2.3.updates.spamassassin.org => 895075, parsed as 895075
[39634] dbg: channel: preparing temp directory for new channel
[39634] dbg: generic: update tmp directory /tmp/.spamassassin39634Zvb9W5tmp
[39634] dbg: generic: lint checking site pre files once before attempting channel updates
[39634] dbg: generic: SpamAssassin version 3.2.5
[39634] dbg: config: score set 0 chosen.
[39634] dbg: dns: no ipv6
[39634] dbg: dns: is Net::DNS::Resolver available? yes
[39634] dbg: dns: Net::DNS version: 0.65
[39634] dbg: ignore: using a test message to lint rules
[39634] dbg: config: using "/usr/local/etc/mail/spamassassin" for site rules pre files [39634] dbg: config: using "/tmp/.spamassassin39634Zvb9W5tmp/doesnotexist" for sys rules pre files [39634] dbg: config: using "/tmp/.spamassassin39634Zvb9W5tmp/doesnotexist" for default rules dir [39634] dbg: config: using "/tmp/.spamassassin39634Zvb9W5tmp/doesnotexist/doesnotexist" for user prefs file
config: no configuration text or files found! please check your setup
[39634] dbg: conf: finish parsing
[39634] dbg: config: score set 0 chosen.
[39634] dbg: message: main message type: text/plain
[39634] dbg: message: ---- MIME PARSER START ----
[39634] dbg: message: parsing normal part
[39634] dbg: message: ---- MIME PARSER END ----
check: no loaded plugin implements 'check_main': cannot scan! at /usr/local/lib/perl5/site_perl/5.8.9/Mail/SpamAssassin/PerMsgStatus.pm line 164.
/usr/local/etc/rc.d/sa-spamd.sh: not found

There is no "/usr/local/etc/mail/spamassassin on my system:

constellation# cd /usr/local/etc/mail/spamassassin
/usr/local/etc/mail/spamassassin: No such file or directory.
constellation#

I also have no /var/db/spamassassin directory. Would that be part of whats causing the issues in the output?

What must I do to make the update work correctly?

TIA,

-Grant




Reply via email to