JT DeLys wrote:
Checking where the updates SHOULD be,
ls -d
/usr/local/etc/spamassassin/Updates/3.003000/updates_spamassassin_org
returns,
/usr/local/bin/ls: cannot access
/usr/local/etc/spamassassin/Updates/3.003000/updates_spamassassin_org:
No such file or directory
Well, that's a problem.
looking at output of 'sa-update --debug',
...
[18621] dbg: logger: adding facilities: all
[18621] dbg: logger: logging level is DBG
[18621] dbg: generic: SpamAssassin version 3.3.0-r543787
[18621] dbg: config: score set 0 chosen.
[18621] dbg: dns: is Net::DNS::Resolver available? yes
[18621] dbg: dns: Net::DNS version: 0.60
[18621] dbg: generic: sa-update version svn540382
[18621] dbg: generic: using update directory:
/usr/local/etc/spamassassin/Updates/3.003000
...
[18621] dbg: channel: reading in channelfile
/usr/local/etc/spamassassin/sa-update-channels.conf
[18621] dbg: channel: adding updates.spamassassin.org
<http://updates.spamassassin.org>
[18621] dbg: channel: attempting channel updates.spamassassin.org
<http://updates.spamassassin.org>
[18621] dbg: channel: update directory
/usr/local/etc/spamassassin/Updates/3.003000/updates_spamassassin_org
[18621] dbg: channel: channel cf file
/usr/local/etc/spamassassin/Updates/3.003000/updates_spamassassin_org.cf
[18621] dbg: channel: channel pre file
/usr/local/etc/spamassassin/Updates/3.003000/updates_spamassassin_org.pre
[18621] dbg: dns: query failed: 0.3.3.updates.spamassassin.org
<http://0.3.3.updates.spamassassin.org> => NXDOMAIN
[18621] dbg: channel: no updates available, skipping channel
[18621] dbg: diag: updates complete, exiting with code 1
I notice the dns query FAIL.
checking the man page,
"The default channel is
updates.spamassassin.org <http://updates.spamassassin.org>,
which has updated rules since the previous
release."
Net::DNS, which I think is responsble for those queries, /is/ working,
as updates of other channels are working.
Ideas?
Your problem isn't anything to do with the datadir. It has to do with
the fact sa-update isn't running. Furthermore, sa-update thinks your
running version 3.3.0. The newest stable release is 3.2.1, so it looks
to me that you're running a dev version.