Re: (Fwd) Re: [Exim] System wide filter

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Yann Golanski
Date:  
À: Dermot Paikkos
CC: exim-users
Sujet: Re: (Fwd) Re: [Exim] System wide filter
On Tue, Mar 27, 2001 at 10:14:57AM +0100, Dermot Paikkos wrote:
> > Where does it fail?
> exim -bf test <testmail
> Filter error: filtering command "fail" is available only in system
> filters: near line 5 of filter file


Did I say bf? my mistake... it should be -bF for system filters.
However, a quick look a the doc would have told you that.

> OK that's new. Yesterday it was warning that there were no-
> significant deliveries and normal delivery would apply. Filter at
> bottom of mail.


Okay, then you have missed something. Remember that regex need to be
tested unless you are a god in them -- whcih means you have a zillion
years of working with them.

exim -d 9 -bF filter < message should give you all the variable
expended and you can trace through it.

> > > The central_filter was amended to the end of the directors section
> > > and I sent mail to the user. All the mail got through. Does the order
> > > of the directors matter?
> RTFM!
> Yeah useful and it is probably is in there somewhere but I can't see
> anything in generic director/router section [139-156] or in the main
> configuration file section [40-49].


The following is from the vanilla configuration file:

######################################################################
#                      DIRECTORS CONFIGURATION                       #
#             Specifies how local addresses are handled              #
######################################################################
#                          ORDER DOES MATTER                         #
#   A local address is passed to each in turn until it is accepted.  #
######################################################################


So, does order matter? I'll leave that as an exercise for you.

> > > The first director is the system_aliases that
> > > sends mail to pop mail boxes. Do I need to put my central filter
> > > before the system_aliases?
> >
> > RTFM about system filters, it's very clearly explained.
> I have read chapter 44. It is the per-addressing filter example I am
> using (see original mail vol1 991 & 990).


Chapter 44 is called "Intermittently connected hosts". I don't think
you mean that one, or if you do I really don't get your question.

There is a whole file on filters exim-3.22/doc/filter.txt that will
answer all of your basic question in it. Please, do read it.

> Thanx for the flame. The question is "does the order of directors
> matter?" Sorry if i have skipped over it in the docs.


As for a flame, I am not against answering questions and providing help.
I was a new users as well. However, PLAESE read the documentation and
don't ask questions that have the answer in BOLD in the configuration
file!

-- 
                         www.kierun.org
Yann@???                                Use Pretty Good Privacy.