Re: [exim] reusing a complicated query

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Jeremy Harris
Ημερομηνία:  
Προς: exim-users
Αντικείμενο: Re: [exim] reusing a complicated query
On 16/06/14 10:52, Ferenc Wagner wrote:
>I'm still left with two occurences of the ugly
> beast: one acting on $local_part in data, and another acting on
> $return_path for errors_to. How could I avoid this? I'd need a
> parametrized macro, but that's not available, as far as I can see. Of
> course I could use three macros (INIT $local_part MIDDLE $local_part
> TAIL), but that's still rather ugly. Any better ideas?


You didn't say what exim version, but 4.82 has a
${acl {name} {arg1}{argN}...} expansion.
--
Cheers,
Jeremy