Re: [Exim] Rejecting bounce messages with multiple recipient…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Alan J. Flavell
Cc: Mark Hynes, exim-users
Asunto: Re: [Exim] Rejecting bounce messages with multiple recipients
On Sat, 28 Sep 2002, Alan J. Flavell wrote:

> ${if >{$recipients_count}{1} {yes}{no}}
>
> Could I just mention that if the test is done at RCPT TO time, then
> the test is off by one. When the second RCPT TO is being processed,
> the recipients_count is 1.


That's right. During RCPT, $recipients_count is the number of previously
*accepted* recipients. From 4.10 you also have $rcpt_count, which is the
number of RCPT commands, including the current one.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.