How to restart MailScanner service in EFA4?
Posted: 03 Mar 2020 15:27
I sometimes modify the blocked attachments list and had these instructions saved for EFA3. I just rebuilt using EFA4 and the sudo service MailScanner restart doesn't work. I modified the filename.rules.conf and then restarted the whole OS and my list works but I'd like to be able to make the changes effective without an entire server restart. What has that command changed to?
SSH in and get into shell
sudo vi /etc/MailScanner/filename.rules.conf
hit i to edit the line below containing the file extension to block
hit esc, then :wq to write and quit
sudo service MailScanner restart
SSH in and get into shell
sudo vi /etc/MailScanner/filename.rules.conf
hit i to edit the line below containing the file extension to block
hit esc, then :wq to write and quit
sudo service MailScanner restart