RE: [exim] global filtering with exim4

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ivo Michiel
Dátum:  
Címzett: exim-users
CC: ph10
Tárgy: RE: [exim] global filtering with exim4

Strange, when I add the line:
system_filter = /etc/exim4/system_filter.exim
in the config file: /etc/exim4/exim4.conf.template

I get this result:
Exim configuration error in line 669 of
/var/lib/exim4/config.autogenerated.tmp:
option "system_filter" unknown
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
not installing /var/lib/exim4/config.autogenerated.tmp to
/var/lib/exim4/config.autogenerated


Could it be, that this line must in a other file, or is it realy the option
"system_filter" that he don't know. The exim4 use all different files in
/etc/exim4/conf.d/ it is hard to find whitch one is it?


Met vriendelijke groet

Ivo

-----Oorspronkelijk bericht-----
Van: Philip Hazel [mailto:ph10@cus.cam.ac.uk]
Verzonden: donderdag 19 januari 2006 12:32
Aan: Ivo Michiel
CC: exim-users@???
Onderwerp: Re: [exim] global filtering with exim4

On Wed, 18 Jan 2006, Ivo Michiel wrote:

> With exim3 it was possible add the folowing lines in exim.conf:
>
>
>
> message_filter = /etc/exim/system_filter.exim
>
> message_body_visible = 5000
>
> The function is to filter for EVERY user at certain thing.
>
>
>
> Now it is not possible, is there a replacement?


grep filter doc/Exim4.upgrade

I'll save you the trouble. This is one of the things you will find:

The System Filter                                                           
-----------------                                                        


. The system filter options that were called message_filter_xxx have all
been
renamed as system_filter_xxx.


-- 
Philip Hazel            University of Cambridge Computing Service
Get the Exim 4 book:    http://www.uit.co.uk/exim-book