Re: [exim] List of recipients

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: Kjetil Torgrim Homme
CC: exim-users, Marilyn Davis, Andrew Johnson
Assumpte: Re: [exim] List of recipients
On Fri, 8 Apr 2005, Kjetil Torgrim Homme wrote:

> On Thu, 2005-04-07 at 15:41 -0700, Marilyn Davis wrote:
> > On Thu, 7 Apr 2005, Kjetil Torgrim Homme wrote:
> > > you can collect all recipients by setting address_data in the first
> > > router.
> >
> > My understanding is that $address_data only stays with the address so
> > it can't collect from address to address.
>
> you're right of course, it's reset for each envelope recipient. drat.
>
> > I'm out of ideas.
>
> me too.


The only way I can think of doing this is an expensive fudge. You create
a router that does nothing (a "non-routing" router). In that router use
an expansion string to write the recipient to a file or a database. Then
you can read the data back in an appropriate transport, in a headers_add
option.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book