On May 5, 2000 J Yunke <yunke@???> wrote:
> How can I force exim to bounce the message if it matches the system-wide
> filter?
This has been discussed (with several filters suggested) on this list
extensively over the past few days. Anyone want to add a FAQ to the exim
website?
(1) create your filter file. It will basically be
...
if (some condition) then
fail text "you sent what looks like a virus"
endif
...
(see recent postings for example filters. Note that what is
appropriate for one site may not be for another)
(2) Test is using -bF option. Note that a buglet (or infalicity) in the
way that reports can give you misleading statements that a message
caught by the filter "Will be delivered normally". If you see the
"fail" text, then the filter will fail the message.
be sure to test with negatives as well as positives.
(3) Put
message_filter = /path/to/filter-file
in the main part of configure
(4) test anything, eg, exim -bt your@???
just to see that you have a valid configure file and didn't introduce
a typo
(5) HUP or restart listening daemon.
-j
--
Jeffrey Goldberg +44 (0)1234 750 111 x 2826
Cranfield Computer Centre FAX 751 814
J.Goldberg@??? http://WWW.Cranfield.ac.uk/public/cc/cc047/
Relativism is the triumph of authority over truth, convention over justice.