[EXIM] transport_filter and suppressing delivery

Top Page
Delete this message
Reply to this message
Author: Marc Haber
Date:  
To: exim-users
Subject: [EXIM] transport_filter and suppressing delivery
Hi!

I think the transport_filter option (which version has that option
been first implemented?) could be suitable for implementing a virus
scanner. However, such a filter must have an opportunity to suppress
message delivery at all.

May I suggest that exim takes a look at the transport_filter's return
value?

0 = continue delivery as plannd
1 = discard message
2 = bounce message

Possibly the transport_filter should have some control over the
subsequent delivery process, but that is beyond my scope.

For the virus scanner project, does the transport_filter have a means
to change the destination address? It would be fine to re-route
infected messages to a special address or even /dev/null.

Is it possibly better to do this in a pipe transport? This has several
disadvantages, including the need to re-submit the mail for final
delivery which causes a second set of log entries to be made for this
message.

Any comments on this?

Greetings
Marc

-- 
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber          |   " Questions are the         | Mailadresse im Header
Karlsruhe, Germany  |     Beginning of Wisdom "     | Fon: *49 721 966 32 15
Nordisch by Nature  | Lt. Worf, TNG "Rightful Heir" | Fax: *49 721 966 31 29


--
*** Exim information can be found at http://www.exim.org/ ***