Hi,
We currently have between 15-20 shared hosting server using cPanel (With CSF, MailScanner FE, etc...)
In order to ease up the maintenance on our servers we are using Puppet. So far, we can manage pretty much every feature from cPanel. But for MailScanner FE, it's a little bit harder!
We can modify the "/usr/mscpanel/msconfig.txt" configuration file, but once this file is modify, the rules in the "/usr/mailscanner/etc/rules/" need to be updated.
The web GUI for MailScanner FE is updating those automaticly, but how can we update them manually by SSH ?
I've tried runnung "/usr/mscpanel/msupdate.pl" in SSH, this will work only if they was an update to be applied, otherwise the rules will not be updated.
Thank you for any insight!
Using Puppet to set MailScanner FE general Settings
Re: Using Puppet to set MailScanner FE general Settings
You need to run /usr/mscpanel/mscpanel.pl to update the rules files.
Regards,
Sarah
Regards,
Sarah
Re: Using Puppet to set MailScanner FE general Settings
Thank you Sarah,
I've tried to suggested command,
Prior the change, I've set the "lowscore=" to 5 in the /usr/mscpanel/msconfig.txt file.
ran the /usr/mscpanel/mscpanel.pl script
But the result in # "tail /usr/mailscanner/etc/rules/spam.score.rules" still shows "FromOrTo: default 6"
Is there a parameter to pass to the Perl script to force a refresh?
I've tried to suggested command,
Prior the change, I've set the "lowscore=" to 5 in the /usr/mscpanel/msconfig.txt file.
ran the /usr/mscpanel/mscpanel.pl script
But the result in # "tail /usr/mailscanner/etc/rules/spam.score.rules" still shows "FromOrTo: default 6"
Is there a parameter to pass to the Perl script to force a refresh?