On Mon, 8 May 2000, Dr Andrew C Aitchison wrote:
> On Mon, 8 May 2000, Nigel Metheringham wrote:
>
> if error_message or not first_delivery
> then
> finish
> endif
>
> What does this do for subsequent delivery ?
Nothing. If it's not the first delivery, "finish" is obeyed, which means
filtering ceases, and normal delivery happens. So subsequent filter
commands are obeyed only for the first delivery attempt.
> If bad mails are failed, I assume the can't be a subsequent delivery ?
Correct.
> However, I imagine that with auto_thaw a frozen bad message may get a
> second delivery ?
Correct.
> In this case, does the subsequent delivery see "finish", meaning
> that the filter does nothing, and the bad mail gets through ?
Seems like it.
> Or is the filter result cached from the first delivery ?
No. Exim doesn't go in for caching stuff between deliveries.
> I'm reluctant to play with this on a live system to answer my own
> questions.
It's not too difficult to set up testing versions of Exim, even on a
live system (use different config file, different spool, different port
for incoming SMTP). You don't even need to recompile.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.