Menu

#5084 Invalid option "report_header" in Spamassassin config

1.870
open
nobody
None
5
2018-02-18
2018-02-16
No

There's a 9 year old error described in the forum at https://www.virtualmin.com/node/9748 that doesn't seem to have been addressed. It says a bug report has been raised but I couldn't find one so I'm raising this (apologies if it's a duplicate nevertheless).

If I run /etc/cron.daily/spamassassin I get a whole lot of debug output starting with

failed to parse line, skipping, in "/etc/spamassassin/local.cf": report_header 1

Commenting out that line (at the bottom, added by webmin) fixes the problem. I'm running Ubuntu 16.04 LTS, fully updated.

As far as I can tell, this configuration option has never existed - perhaps a typo rather than a deprecation.

Discussion

  • Kay

    Kay - 2018-02-16

    you have to set report x-spam header to NO, this option is removed since SA3

    I'll provide patch to disable this option for SA3

     
  • Jamie Cameron

    Jamie Cameron - 2018-02-17

    Do you know which exact SpamAssassin version this was disabled in?

     
  • Kay

    Kay - 2018-02-17

    it was replaced by the new options in 3.0, but I don't know if there was a grace period where it was allowed for backward compatibility.

    unfortunately Google also has no real results about this topic 🤔

     
  • Kay

    Kay - 2018-02-17

    in addition i had a look in all availible conf doc from 2.6 to today. report-header is mentoined in none of these docs. so it seems it was deprecated and removed before sa 2.6.

    may be we should simply drop this option and use the new header rules from 2.6 onwards.
    also for pyzor etc ...

     
  • Jamie Cameron

    Jamie Cameron - 2018-02-18

    Let's just assume 2.6 then

     

Log in to post a comment.

Auth0 Logo