Deprecated config items cause ongoing SpamAssassin warnings :(

When I first configured SpamAssassin in December, I added two lines to the end of /etc/spamassassin/

rewrite_header subject [SPAM: _SCORE_]
score SPF_FAIL 50

So I know what used to be at the end.

Soon after, something added four more lines (or perhaps rewrote them there, from elsewhere in the file??):

detailed_phrase_score 1
defang_mime 0
report_safe 0

Unfortunately, the first two of those lines are old/deprecated, causing a daily logfile warning.

Feb  8 14:48:34.843 [8801] warn: config: failed to parse line, skipping, in "/etc/spamassassin/": detailed_phrase_score 1
Feb  8 14:48:34.843 [8801] warn: config: failed to parse line, skipping, in "/etc/spamassassin/": defang_mime 0
Feb  8 14:48:35.664 [8801] warn: lint: 2 issues detected, please rerun with debug enabled for more information

Any ideas what wrote those in there?

Operating system Debian Linux 10
Webmin version 1.984
Usermin version 1.834
Virtualmin version 6.17-3

Well, it can’t be Virtualmin:

Looks like Webmin deals with those values on Message Modification page, but it wouldn’t add them automatically.

So…I don’t know.

@Jamie, defang_mime was suppressed by report_safe. And detailed_phrase_score was removed starting with SpamAssassin 2.6, i.e. we can safely drop defang_mime and detailed_phrase_score completely from Webmin spam module.


Sure, I’ll do that…

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.