Using Puppet to set MailScanner FE general Settings
Posted: 07 Jul 2017, 15:26
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!
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!