[Exim] Generic Windows Executable Content Filter

Top Page
Delete this message
Reply to this message
Author: Denny Fox
Date:  
To: exim-users
Subject: [Exim] Generic Windows Executable Content Filter
Hello,

I've implemented the latest system message_filter on a Debian 2.2
based mail server with exim 3.12-10.1 installed.

The filter works as described but causes a problem when the sender or
the reply-to address of the inbound message comes from an SMTP server
that will also not accept attachments with these filename extentions.
The fail text "      " is fine, but the reply that Exim generates also
includes the original email and attachment. In effect, if the sender
lives at a host that also prohibits these attachments, we have a mail
loop.


What I'd like to do is discard the original message and attachments
altogether, and just reply with the fail text " " message. That way
mail loops will be avoided.

I have read the filter docs, section 47 in the spec, and searched the
maillist archives. I can't figure out how to do this.

Please reply directly, as I am not subscribed to the maillist.

Thanks very much for any help that can be offered.

Denny Fox