On Wed, 20 Jan 1999 15:43:47 +0000 (BST), you wrote:
>The other thing that I believe has been done by some people is to
>deliver all messages via a pipe to a checking program, that resubmits
>them for delivery in some private way that can be checked (e.g. on a
>specific SMTP port, or IP address).
Sven Paulus and me did this by re-delivering to a command line "exim
-oMr scanned-ok" and having the pipe-transport only scan messages that
have been delivered via all protocols except scanned-ok.
Director:
|vircheck:
| condition = "${if or {{eq {$received_protocol}{no-attachment}} \
| {eq {$received_protocol}{local-not-scanned}} \
| {eq {$received_protocol}{scanned-ok}} \
| {match {$sender_host_address}{^192\.168\.10\.}}} \
| {0}{1}}"
|# headers_add = "X-Passed-Thru: Virscan Director"
| driver = localuser
| transport = virscan
Router:
|vircheck:
| condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
|# headers_add = "X-Passed-Thru: Virscan Router"
| driver = domainlist
| route_list = "*"
| transport = virscan
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/ ***