Re: [exim] rewrite sender based on recipient

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: a.smith
Data:  
Para: Matthew Newton
CC: exim-users
Asunto: Re: [exim] rewrite sender based on recipient
Quoting Matthew Newton <mcn4@???>:
>
> Try $local_part@$domain instead of $recipients. The ACL only
> checks one recipient at a time (which is why you probably also
> need to check that $recipients_count is 1, or similar).
>
> See
> http://exim.org/exim-html-current/doc/html/spec_html/ch-string_expansions.html#SECTexpvar
> for the list of available variables - not all are available at the
> same time.
>


Thanks Matthew, I've had a look at this doc and it seems acl_a
variables are suited to the task as opposed to acl_m, so I've changed
that.
I've also tried putting $local_part@$domain as the search string but
its still not matching. BTW For the sake of the testing I am manually
sending a mail to a single recipient so this is controlled.
Is there anything I can do to get it to verbosely show the ACL
processing or see what is in the variable $recipients at a given time?

thanks, Andy.