Page 1 of 1

How to restart MailScanner service in EFA4?

Posted: 03 Mar 2020 15:27
by kidtriton
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

Re: How to restart MailScanner service in EFA4?

Posted: 03 Mar 2020 18:57
by shawniverson

Code: Select all

sudo systemctl restart mailscanner

Re: How to restart MailScanner service in EFA4?

Posted: 03 Mar 2020 19:14
by kidtriton
Great, thanks! I guess its normal not to see a stopping and starting message anymore.