I'm not sure what the problem is you are attempting to demonstrate...
the update from updates.spamassassin.org contains everything you need
from the default DATADIR.



The issue  parallels a discussion I've been having in IRC.

The problem is that I'm not seeing any SPF checks being done, despite the
Plugin being enabled  AND the rules/scores being defined in "50_scores.cf".

'felicity' suggested that's because the rules/scores are not being /seen/ --
and, checking with LINT, there's, indeed, no trace of those rules -- or
ANYTHING from the Distribution files being found/read.

Left to my own devices, I'm trying to figure out why not.

Again, I've specified where the Distribution files are -- why are they not
being found/read?

You state, "the update from updates.spamassassin.org contains everything you
need from the default DATADIR."

Checking my setup/install,

cd /usr/local/etc/spamassassin
grep -i spf `grep -rlni spf .` | grep -i score
./Distribution/50_scores.cf:score RCVD_IN_IADB_SPF 0 -0.001 0 -0.078
./Distribution/50_scores.cf:ifplugin Mail::SpamAssassin::Plugin::SPF
./Distribution/50_scores.cf:score USER_IN_SPF_WHITELIST -100.000
./Distribution/50_scores.cf:score USER_IN_DEF_SPF_WL -7.500
./Distribution/50_scores.cf:score ENV_AND_HDR_SPF_MATCH -7.500
./Distribution/50_scores.cf:endif # Mail::SpamAssassin::Plugin::SPF
./Distribution/50_scores.cf:#
SPF
./Distribution/50_scores.cf:# Note that the benefit for a valid SPF record
is deliberately minimal; it's
./Distribution/50_scores.cf:# likely that more spammers would quickly move
to setting valid SPF records
./Distribution/50_scores.cf:ifplugin Mail::SpamAssassin::Plugin::SPF
./Distribution/50_scores.cf:score SPF_PASS -0.001
./Distribution/50_scores.cf:score SPF_HELO_PASS -0.001
./Distribution/50_scores.cf:score SPF_FAIL 2.600 0.992 1.669 0.693
./Distribution/50_scores.cf:score SPF_HELO_FAIL 2.298 0.365 0.540 0.001
./Distribution/50_scores.cf:score SPF_HELO_NEUTRAL 2.231 2.000 0.744 0.576
./Distribution/50_scores.cf:score SPF_HELO_SOFTFAIL 2.599 1.533 1.427 0.841
./Distribution/50_scores.cf:score SPF_NEUTRAL 2.199 1.210 0.756 0.686
./Distribution/50_scores.cf:score SPF_SOFTFAIL 2.301 0.654 0.698 0.596
./Distribution/50_scores.cf:endif # Mail::SpamAssassin::Plugin::SPF

Everything relevant ONLY seems to be in Distribution/ -- nothing in
Updates/.

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
[18621] dbg: channel: attempting channel 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 => 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, 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?

--
Thanks,

   JTDeLys

Reply via email to