[SOLVED] Activation of the spamassassin option Shortcircuit

Dark26

Renowned Member
Nov 27, 2017
297
36
68
48
Bonjour,

We have two PMG server ( cluster ).

We want to activate the Shortcircuit in spamassassin.

we try to modify the configurtaion file : /etc/mail/spamassassin/v320.pre

# Shortcircuit - stop evaluation early if high-accuracy rules fire
#
loadplugin Mail::SpamAssassin::Plugin::Shortcircuit

We decomment the loadplugin line for shortcircuit.

we reload the service ( systemctl restart pmg-smtp-filter.service ).

On the first one, eveything working as expected.

But on the second server , after approximately 2 minutes , the file is automatically overwritten with the ancient configuration ( the # appears again ), and the config is the default one.

Questions :
- Is there a share config file specifict proxmox ( or in the gui ) for modifing this value?
- Do we have to create another custom ".pre"file" with this option ?
- Why we don't have the problem on the first server, and only in the second ?

Any idea ?.

Thanks
 
i modify the file /etc/mail/spamassassin/custom.cf and add the line for the loading plugin, and it's seem to work on the two servers now.