• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 Post fix - 5.7.1 message content rejected - Attachment filename contains domain/email address

NateWon

Basic Pleskian
I'm having an issue where an email attachment with a domain name, or email address in the file name, causes the message to be blocked. To be clear If I rename the file to exclude those items it works no problem.

Dec 10 08:35:05 SERVERNAME postfix/cleanup[70602]: BD8632AFA9C: reject: header Content-Type: application/pdf;??name="[email protected]_20191126_112647.pdf" from mail-eopbgr1370088.outbound.protection.outlook.com[40.107.137.88]; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<AUS01-SY3-obe.outbound.protection.outlook.com>: 5.7.1 message content rejected

I have added some customization's to the setup, however it was a few years back now, so not 100% certain whether this is an addition or not. But I can't see the "message content rejected" message in those files so don't believe these are at fault (they simply check some file types etc, so not sending /.hlp files etc)
mime_header_checks = regexp:/etc/postfix/mime_header_checks
header_checks = regexp:/etc/postfix/header_checks


Reducing the Spam Filter sensitivity doesn't appear to fix the issue.

Would someone be able to help me locate where the particular configuration for this setting is, and how to disable or modify it to allow these type of documents to pass through.
 
I have these settings in place aswell.

smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_sender
 
Back
Top