Re: [Exim] Alias router only processes first recipient?

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Juha Saarinen
CC: exim-users
Sujet: Re: [Exim] Alias router only processes first recipient?
On Wed, 22 May 2002, Juha Saarinen wrote:

> I was testing a new alias, when I noticed that the router only processes
> the first recipient in To:, ignoring all the others.


Routers do not process recipients in To: lines. They process recipients
from the message's envelope.

> # exim -d -bt webmaster@??? postmaster@???
> root@??? > debug 2>&1


Testing routing isn't quite the same as testing a real delivery. In
particular, de-duplication doesn't happen. What is the output when you
actually send a message to several addresses?

> I only get the message to the first recipient, however. I thought it was a
> Courier-IMAP problem at first, as the debug output indicates that all
> messages were routed, but looking at Exim's main.log, I only see one
> instance of delivery:


Aha! It *is* the de-duplication that is confusing you.

> What am I missing here? Is this a feature?


Yes. Exim only delivers one copy when several addresses resolve to the
same mailbox. However, you should see all the addresses in the
Envelope-To: header line.


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