• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Drop file extensions in spamassassin

SalvadorS

Regular Pleskian
Hello,

I installed spamassassin without any issues. Then I added these lines in:

/etc/spamassassin/local.cf


mimeheader MIME_FAIL Content-Type =~ /\.(ade|adp|bat|chm|cmd|com|cpl|exe|hta|ins|isp|jse|)\b/i
describe MIME_FAIL Blacklisted file extension detected
score MIME_FAIL 15

To drop all mails with file attached with that extensions.

I checked all is ok with:

spamassassin --lint

But mails with files with that extensions goes inside without problem.

Does anybody know how to do this correctly?

Thank you
 
Back
Top