How to restart MailScanner service in EFA4?

Questions and answers about how to do stuff
Post Reply
kidtriton
Posts: 7
Joined: 24 Mar 2016 14:44

How to restart MailScanner service in EFA4?

Post by kidtriton » 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

User avatar
shawniverson
Posts: 3029
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

Re: How to restart MailScanner service in EFA4?

Post by shawniverson » 03 Mar 2020 18:57

Code: Select all

sudo systemctl restart mailscanner
Version eFa 4.0.2 now available!

kidtriton
Posts: 7
Joined: 24 Mar 2016 14:44

Re: How to restart MailScanner service in EFA4?

Post by kidtriton » 03 Mar 2020 19:14

Great, thanks! I guess its normal not to see a stopping and starting message anymore.

Post Reply