How to test SpamAssassin or antivirus software in Plesk

Created:

2016-11-16 12:46:04 UTC

Modified:

2017-04-24 12:12:24 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to test SpamAssassin or antivirus software in Plesk

Applicable to:

  • Plesk

Question

How to test SpamAssassin or Kaspersky and Plesk Premium Antivirus antiviruses?

Answer

SpamAssassin: To test SpamAssassin it is necessary to send a test email containing the following string of characters in message body (in upper case and with no spaces or line breaks):

XJS*C4JDBQADN1.NSBN3*2IDNEN*GTUBE-STANDARD-ANTI-UBE-TEST-EMAIL*C.34X

Note: The test email can be sent from an account outside of your network.

While testing, note that Gtube test email gives +1000 scores to spam. So, even if a mailbox is in the whitelist, mail still be detected as spam because whitelisted email get -100 scores. Detailed information about scores can be found in an email header. The output will look similar to:

    X-Spam-Report: 
* -100 USER_IN_WHITELIST From: address is in the user's white-list
* -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP
* 1000 GTUBE BODY: Generic Test for Unsolicited Bulk Email
* 0.0 TVD_SPACE_RATIO No description available.

To modify the maximum score that whitelisted and blacklisted emails will get, modify 50_scores.cf file and set the required score for USER_IN_BLACKLIST and USER_IN_WHITELIST parameters.

Antivirus: To test Kaspersky Antivirus, Plesk Premium Antivirus or any other antivirus, attach a test file that contains this special string:

X5O!P%@AP[4\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*

The file that already contains a special string can be downloaded from the Kaspersky Labs server: eicar.zip

Results can be seen in %plesk_dir%admin/logs/plesklog_avstat<date>.log file

Note : debug(DWORD) value (Plesk application debug) should be set to 1 under HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\PLESK\\PSA Config\\Config .

Additional information

Please find additional information about SpamAssassin in Plesk ducomentation: SpamAssassin Spam Filter

Have more questions? Submit a request
Please sign in to leave a comment.