Ticket #1127 (Bad Spamassassin plugins handling) created

  • [feedquote='Trac','http://trac.i-mscp.net/ticket/1127']

    When settign use_dcc = "no" (which is the default IIRC) in the config.php of the spamassassin plugin, i-MSCP will comment out the line

    Code
    1. loadplugin Mail::SpamAssassin::Plugin::DCC/loadplugin Mail::SpamAssassin::Plugin::DCC/gm

    in the spamassassin config and set "use_dcc" to "0" in the mysql table.
    This will lead to the error below in the mail log (once for each mail), because spamassassin doesn't recognize the "use_dcc" config option as the plugin is not loaded.

    Code
    1. Sep 15 09:47:09 myserver spamd[5383]: config: failed to parse line, skipping, in "(no file)": use_dcc 0

    bug is in file https://github.com/i-MSCP/plug…n/backend/SpamAssassin.pm
    [/feedquote]