On 31 July 2001, Philip Hazel said:
> You are working from an old version of the manual (and presumably an old
> release of Exim). The latest release is 3.32. The manual now reads thus:
Yep -- I'm using Debian stable, so running Exim 3.12 and reading the
3.10 manual. Will probably upgrade to 3.22 (it's in Debian testing) one
of these days, but not just yet. It sounds like I now have one more
reason to upgrade -- thanks.
For the record, I got things working by changing to use "mail" instead
of "fail". This has all sorts of benefits apart from actually working
in concert with "save" and "logwrite" -- I can set the subject, put the
custom response text in a separate file, etc. Here's what my filter
snippet looks like now:
if $message_body contains "..." or
$message_body contains "..." or
...
then
save /var/log/exim/rejected-mail
logwrite "$tod_log $message_id rejected (SirCam signature)"
logwrite "$tod_log subject: $header_subject"
logwrite "$tod_log recipients: $recipients"
mail subject "Mail returned: virus detected"
file /etc/exim/sircam-reject.txt
return message
seen finish
endif
Thanks again --
Greg
--
Greg Ward - software developer gward@???
MEMS Exchange http://www.mems-exchange.org