Re: [Exim] Re: Why is $recipients forbidden ?

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Miquel van Smoorenburg
Υ/ο: exim-users
Αντικείμενο: Re: [Exim] Re: Why is $recipients forbidden ?
On Thu, 16 May 2002, Miquel van Smoorenburg wrote:

> If I'm starting to bore you now, feel free to ignore the rest of
> this message - I'll try to explain a bit more what I'm trying to do,
> and you might say exim was not meant for that or that I am abusing
> the system. So be it ;)


People always try to push programs past their limits. I'm used to that.

> *@potter.book:        harry

>
> .. and everything is nicely put in the 'harry' mailbox.
> However when I create another alias (or someone uses a .forward) like
>
> anakin@???:    anakin@???

>
> .. then the Envelope-to: is "anakin@???".


Hmm. And you can't use header_add because you haven't got the list of
addresses to hand in a batched delivery...

I hate to suggest this, because it goes against my principles, but a
terrible kludge for this would be to rewrite anakin@??? as
anakin@??? rather than aliasing it. Yuck. I feel unclean to have
said that. :-) Rewriting shouldn't be used for routing.

What you really want is some way of saying to the transport "Add this
header with the *current* delivery addresses rather than the original
ones". Or you want a variable that contains a list of the current
delivery addresses when there's more than one of them.

I have put this on the Wish List.

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