Re: [Exim] use of "first_delivery"

Top Page
Delete this message
Reply to this message
Author: Phil Chambers
Date:  
To: exim-users
Subject: Re: [Exim] use of "first_delivery"
On Fri, 10 May 2002 11:17:33 +0100 (BST) Philip Hazel <ph10@???> wrote:

> On Fri, 10 May 2002, Phil Chambers wrote:
>
> >
> > On Fri, 10 May 2002 10:21:32 +0100 (BST) Philip Hazel <ph10@???> wrote:
> >
> > > On Thu, 9 May 2002, Marc Haber wrote:
> > >
> > > > So a filter file that has a "if not first delivery" clause is
> > > > _guaranteed_ to be run once?
> > >
> > > A filter file is run every time. However, any commands that are inside
> > > "if first_delivery ... endif" should be run only on the first occasion.
> > > Any commands inside "if not first_delivery...endif" may never be run at
> > > all.
> > >
> >
> > Presumably "may never be run at all" only occurs is the messages is does not get
> > delivered? That is the only way I can think of a first delivery never occurring.
>
> I think you missed the "not".


Sorry for my typos and my confusion|! I now realise that, of course, if a message
arrives and gets delivered first time then the commands inside the "if not first
..." will never get run.

Phil.
---------------------------------------
Phil Chambers (postmaster@???)
University of Exeter