Re: [exim] Will this work?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Marc Perkel
Υ/ο: 'Exim User's Mailing List'
Αντικείμενο: Re: [exim] Will this work?
On Thu, 14 Oct 2004, Marc Perkel wrote:

> Suppose I had a directory named /etc/exim/filters. Could I specify a router
> thar ran all the filters in that directory?


No.

> Can I say in a router file = /etc/exim/filters/* ?


No.

> The reason I want to do this is that if I have separate files for specific
> filters - I'm hoping the log file will show the filter name so I can know
> which filter was triggered - but I don't want to create a whole buch of
> routers to run every filter individually.


There is no concept of "triggering" a filter.

> If I can't use a wildcard - I want to suggest this as a feature.


It would be much more efficient to run a script that just concatenates
all your filters into one file for Exim to use.

Note that the "file" option is expanded. If you want to use different
filters under different conditions, you can select your filter as part
of the expansion.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book