Autor: Matthew Hodgson Datum: To: 'Exim-users' Betreff: Re: [exim] Making $pipe_addresses a real variable?
On Fri, 2 Feb 2007, Philip Hazel wrote:
> On Fri, 2 Feb 2007, Matthew Hodgson wrote:
>
>> Might there be any way in the future to make $pipe_addresses inspectable
>> within string expansions in a transport?
>
> The right name would be $recipients, I think. ($pipe_addresses does
> magic things, putting each address into a separate argument for the
> pipe.)
Isn't $recipients already used to describe the recipients on the initial
submitted envelope, rather than those which finally get passed in a batch
to a transport? I can already get at the original $recipients by
assigning it to an $acl_m variable in an ACL (acl_check_predata or
acl_check_nonsmtp).
> Please submit this to Bugzilla as a wish list item so that it doesn't
> get forgotten.
Are there any technical limitations as to why accessing the addr array of
address_items as passed to deliver.c:deliver_local() couldn't be accessed
directly
as a variable rather than only through the $pipe_addresses magic in
transport.c:transport_set_up_command()? If not, then I might have a shot
at writing a patch.