Re: [Exim] where in exim.conf are system wide filters writte…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: jon, Jeffrey Goldberg
CC: exim-users
Tárgy: Re: [Exim] where in exim.conf are system wide filters written ??
On Thu, 19 Jul 2001 jon@??? wrote:

> i still dont think that clearly says it has to be under the main
> configuration
> part.


No, it doesn't. If I added "in the main configuration" to every
reference to every main option in Exim, the manual would not only be a
whole lot bigger, but it would read very clumsily. However, in this case
there is already a scribbled note in my copy of the manual to clarify
this information, and I'll try to make it clearer in the next edition.

Note also that there is a file called doc/OptionLists.txt in the Exim
distribution which contains a complete list of every option, and this
tells you that message_filter is a "main" option.

> What if i want more than one filter in the future, can i
> make more than one message_filter ??


Think about it. If you had two filters, how would Exim know which one to
run? If you just want them both run, why bother to have two? Just stick
the filter instructions consecutively in one.

> i wrote
>         unseen save /var/mail/copy_of_all_messages/$message_id errors_to
> postmaster@???

>
> but it looks like errors only work with deliver. What happens if there
> is
> an error while trying to save the file ??
> Will the sender get a reply back that says that ??


Yes. But you can stick "noerror" before the command to cause errors to
be ignored.

> >    unseen save /path/to/file
> >    unseen pipe /path/to/command

>
> yes yes, but then in the exim.conf i need
>
> message_filter_pipe_transport =
> message_filter_file_transport =
>
> And can i set both ??


Sure.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.