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

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Alan J. Flavell
CC: Mark Hynes, exim-users
Sujet: 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.