do not report attachments sent to some users
Nerijus Baliunas <[email protected]>
| Newsgroups | gmane.mail.virus.mailscanner |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have a mail backup configured in postfix, so that all received and sent messages are forwarded to [email protected] and [email protected] The problem is when disallowed attchment is sent. Sending user gets: Our e-mail content detector has just been triggered by a message you sent: To: [email protected], email-YXepAh3jYkxWk0Htik3J/[email protected] or: To: [email protected], [email protected] Subject: ... Date: Fri Feb 19 09:45:41 2021 One or more of the attachments (2021 02 18.doc) are on the list of unacceptable attachments for this site and will not have been delivered. How do I hide these [email protected] and [email protected]? I tried adding: Allow Filenames = %rules-dir%/filename_allow.rules filename_allow.rules: To: backup-recvd-*@example.com \.*$ To: backup-sent-*@example.com \.*$ FromOrTo: default But then message with disallowed attachment is delivered to both [email protected] and [email protected] Regards, Nerijus -- MailScanner mailing list mailscanner-qhrM8SXbD5JTOyd/[email protected] http://lists.mailscanner.info/mailman/listinfo/mailscanner