Qmail
If you are using Qmail as the mail transfer agent, then you should select this type of mail filtering from the SMTP configuration interface.
To use Qmail as mail filtering type
-
Select 'Qmail' from the 'Mail Filtering Type' drop-down box.
- Port - Specify the listening port of Qmail.
- Antivirus action - Specifies the action when the message contains virus. You have two choices:
- Modify Subject - Adds a note to the subject of the mail. An example of modified subject:
- Delete Attachment - Deletes the virus attachment.
After clicking 'OK' for the changes to take effect, the following commands should be performed:
First, stop the qmail service.
-
$sudo service qmail stop
Keep the the file name qmail-queue.org as below, do NOT modify or delete it.
- $sudo cp /var/qmail/bin/qmail-queue /var/qmail/bin/qmail-queue.orig
- $sudo cp /opt/COMODO/qmail-queue-cmg /var/qmail/bin/qmail-queue
- $sudo service qmail start