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:
- [email protected] sends a password protected file to [email protected]
- e-mail to [email protected] is rejected and mailer-daemon sends reject message back to [email protected]
- since the reject e-mail contains the original attachments, reject message to [email protected] 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?
When an e-mail is rejected the mailer-daemon sends back this message along with all the attachments in the e-mail.
Code:
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:
[email protected]
local delivery failed
Eg:
- [email protected] sends a password protected file to [email protected]
- e-mail to [email protected] is rejected and mailer-daemon sends reject message back to [email protected]
- since the reject e-mail contains the original attachments, reject message to [email protected] 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?