amavis "fails to parse" 'uridnsbl_skip_domain ...' in spamassassin local config ?
locuse at mm.st
locuse at mm.st
Fri Apr 6 17:31:44 CEST 2012
hi,
i'm running
./amavisd -V
amavisd-new-2.6.6 (20110518)
on Ubuntu 10LTS/64. it's part of a Zimbra/OSE v7.1.4GA install.
the spamassassin that's bundled with it is,
./spamassassin -V
SpamAssassin version 3.3.2
running on Perl version 5.10.1
i've customized spamassassin & its local config file (salocal.cf.in) to
use the URIDNSBL plugin, as i have been doing on another standalone (no
amavis) SA system.
checking this system, the module's installed,
module_info Mail::SpamAssassin::Plugin::URIDNSBL
Name: Mail::SpamAssassin::Plugin::URIDNSBL
Version: (unknown)
Directory: /opt/zimbra/zimbramon/lib
File:
/opt/zimbra/zimbramon/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
Core module: no
it's enabled in "init.pre",
grep URIDNSBL /opt/zimbra/conf/spamassassin/init.pre
# URIDNSBL - look up URLs found in the message against
several DNS
loadplugin Mail::SpamAssassin::Plugin::URIDNSBL
and, per the module's docs,
https://spamassassin.apache.org/full/3.3.x/doc/Mail_SpamAssassin_Plugin_URIDNSBL.html
i've added,
uridnsbl_skip_domain mytesdomain.loc
to my local config.
spamasassin debug lint sees the plugin loaded,
./spamassassin -D --lint 2> out.txt
grep -i uridnsbl out.txt
Apr 6 07:25:58.618 [20650] dbg: plugin: loading
Mail::SpamAssassin::Plugin::URIDNSBL from @INC
Apr 6 07:25:58.803 [20650] dbg: plugin: did not
register Mail::SpamAssassin::Plugin::URIDNSBL, already
registered
Apr 6 07:26:05.647 [20650] dbg: plugin:
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x3e87f28)
implements 'parsed_metadata', priority 0
./spamassassin -D <sample-spam.txt 2> out.txt
grep -i uridnsbl out.txt
Apr 6 08:20:17.159 [21970] dbg: plugin: loading
Mail::SpamAssassin::Plugin::URIDNSBL from @INC
Apr 6 08:20:17.773 [21970] dbg: plugin: did not
register Mail::SpamAssassin::Plugin::URIDNSBL, already
registered
Apr 6 08:20:24.521 [21970] dbg: plugin:
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x2bdd298)
implements 'parsed_metadata', priority 0
Apr 6 08:20:24.732 [21970] dbg: uridnsbl: domains to
query:
but at restart of amavis itself
zmamavisdctl restart
logs show that *amavis* reports that the uridnsbl line in the local
config is FAILing to parse,
Apr 6 08:28:10 zimbra amavis[19986]: SA info: config: failed to
parse line, skipping, in "/opt/zimbra/conf/salocal.cf":
uridnsbl_skip_domain mytestdomain.loc
there's no other warning or error; it's *just* this line, for this
plugin, from amavis.
zimbra community has, so far, been completely silent on the matter.
irc@#spamassassin suggests that it's an amavis problem.
as i mentioned above, this same config on a !amavis SA installation
works just fine, with no parse error, and URIDNSBL working as expected.
(1) how can i verify that this problem is/isn't an amavis issue?
(2) if it is amavis, what can be done to fix it?
thanks.
More information about the amavis-users
mailing list