Re: [exim] vacation / first_delivery question

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: V. T. Mueller
Data:  
Para: exim-users
Asunto: Re: [exim] vacation / first_delivery question

Hello.

Philip Hazel schrieb:
>>Is there a way in which vacation messages are only sent if header_to and
>>envelope_to are identical? E. g. not to send vacation messages for adresses
>>that are the result of aliasing (=have been processed by another router
>>already).
> 2. You could test for the presence of "$local_part@$domain" in the To:
> header and make that a condition of your vacation router. Something
> like:
> condition = ${if match{$h_to:}{${rxquote:$local_part@$domain}}}


Well, that looks promising. Thank you, I'm going to give that a try now.

>>I wonder if "first_delivery" would be an option to use, but the docs don't
>>make clear in which regard "delivery" is exactly meant:
> Ah, sorry, that's a misunderstanding. In this context, "delivery" means
> "a process that is trying to deliver the message". The value of
> "first_delivery" becomes FALSE only if there are delays in delivering to
> some of the recipients, and a message has to wait on the queue and be
> tried again later.
>>This condition, which has no data, is true during a message's first delivery
>>attempt. It is false during any subsequent delivery attempts."
>>So is a router processing a message a delivery attempt?
> A router processes an address, not a message. An operating system
> process runs an Exim delivery process, which makes a "delivery attempt"
> on a message - this involves tryint to deliver to all the as-yet-
> undelivered addresses.


Hm ok. That is to be completely logical. Thanks for the enlightenment!

Kind regards,
vt