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
How to restart MailScanner service in EFA4?
- shawniverson
- Posts: 3644
- Joined: 13 Jan 2014 23:30
- Location: Indianapolis, Indiana USA
- Contact:
Re: How to restart MailScanner service in EFA4?
Code: Select all
sudo systemctl restart mailscanner
Re: How to restart MailScanner service in EFA4?
Great, thanks! I guess its normal not to see a stopping and starting message anymore.