On 2023-01-02 at 16:01:34 UTC-0500 (Mon, 2 Jan 2023 16:01:34 -0500)
joe a <joea-li...@j4computers.com>
is rumored to have said:

On 1/2/2023 2:49 PM, joe a wrote:
Noticed this line in /var/log/mail:

spamd[31188]: config: failed to parse line, skipping, in "/etc/mail/spamassassin/local.cf": Mail::SpamAssassin::Plugin::URIDNSBL

It seems to have started a few weeks ago and does not appear to be related to the date of any deliberate changes on my part.

Small home office system. My skills are a bit stale, so any assistance is gladly accepted.


It appears to be related to this line in local.cf:

Mail::SpamAssassin::Plugin::URIDNSBL

There is no reason for that (the bare name of a Perl module in the SpamAssassin package) to appear in local.cf. It is conceivable that it might have not caused a parse error in some contexts to have that alone on a line (it's a defined Perl identifier, after all) but it is a bit surprising. Are you sure it didn't start happening after a change to local.cf?

When I comment that out and restart spamd, the error no longer appears. It appears OK, but perhaps my eyes are cheated by some spell?

I can't think of any reason other than an editing error for the bare name of a Perl module to appear on a line by itself in local.cf or any other SpamAssassin config file. It SHOULD break parsing.

Whenever you change a SpamAssassin config file, you should run 'spamassassin --lint' to make sure it is parsing correctly.

--
Bill Cole
b...@scconsult.com or billc...@apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not Currently Available For Hire

Reply via email to