How can I test or verify that the package is working? Send a mail with the test virus EICAR(European Institute for Computer and Antivirus Research). The EICAR test file is located at /opt/kav/bin/eicar_com.txt. You can do this using the following syntax. nail -a /opt/kav/bin/eicar_com.txt -s ``Sample subject virus'' <receiver's email id> Press Enter and Type the body of the e-mail and press Ctrl-T after you have finished typing the body. The attachment should be removed and a warning should be sent to one of the recipient, sender and the admin e-mail addresses, as you have configured in the /etc/MailScanner/MailScanner.conf file. For spam, send a mail from one of the test messages found in the /etc/MailScanner/testmessages directory. Usually, the recommended threshold is 5. So, unless the score is equal to or greater than 5, the message will not be modified. If the score is greater than 5, the subject will be modified to have a {SPAM?} tag. To send a mail using those sample spam files, run the command: sendmail -i your-address@example.com < sample-spam.txt For Content Protection, you can test for a pattern in any of the headers, subject, body or attachments and take an appropriate action from among the store, delete, forward or deliver options. See the file /etc/MailScanner/mcp/10_example.cf file for some examples. |