Dont send back attachments when rejecting e-mail
I have an Exim transport set up for ESET Mail Scanner which I have set up to reject e-mails with password protected files.
When an e-mail is rejected the mailer-daemon sends back this message along with all the attachments in the e-mail.
The problem here is if the e-mail is sent to another user within the same host, the e-mail will be stuck in the mail delivery queue. Eg: - user1@example.com sends a password protected file to user2@example.com - e-mail to user2@example.com is rejected and mailer-daemon sends reject message back to user1@example.com - since the reject e-mail contains the original attachments, reject message to user1@example.com is again rejected - now the reject message is frozen in the mail delivery queue Is it possible to configure Exim to not send back attachments with the reject message?
This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
admin@example.com
local delivery failedThe problem here is if the e-mail is sent to another user within the same host, the e-mail will be stuck in the mail delivery queue. Eg: - user1@example.com sends a password protected file to user2@example.com - e-mail to user2@example.com is rejected and mailer-daemon sends reject message back to user1@example.com - since the reject e-mail contains the original attachments, reject message to user1@example.com is again rejected - now the reject message is frozen in the mail delivery queue Is it possible to configure Exim to not send back attachments with the reject message?
Please sign in to leave a comment.
Comments
0 comments