Re: [exim] reusing a complicated query

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Jeremy Harris
Date:  
À: exim-users
Sujet: 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