On Mon, 6 Nov 2006, Daniel Tiefnig wrote:
> Philip Hazel wrote:
> > On Mon, 6 Nov 2006, Daniel Tiefnig wrote:
> >> On the other hand, now i see it DOES, if started as:
> >> exim -qff -q<time>
> >> This might be due to the format of the "-q<qflags><time>"
> >> parameter, (first flags, then time) but I didn't look at the code.
> >
> > It's because if you specify -q twice, the second one will override
> > the first.
>
> No, that's what I thought first too, but the above command starts an
> "exim -qff" every <time>, and _not_ an "exim -q". So, the arguments of
> the two -q are concatenated somehow.
For "override" read "add to". But if you put them in the other order,
for "override" read "override". :-)
In other words, if you specify the same option twice, you can't (without
looking at the code) know how the options are going to interact with
each other. It ought be be better (maybe even forbidden to use -q twice)
but as more and more options have been added, the code has become rather
messy.
--
Philip Hazel University of Cambridge Computing Service
Get the Exim 4 book: http://www.uit.co.uk/exim-book