Re: [Exim] Remove sender from group expansion alias

Pàgina inicial
Delete this message
Reply to this message
Autor: David S. Madole
Data:  
A: Nigel Wade
CC: Exim users list
Assumpte: Re: [Exim] Remove sender from group expansion alias
> From: "Nigel Wade" <nmw@???>
>
> I didn't actually sort out the logic of the exim config. but in the text

you
> said "and the address is not the result of an expansion, discard the
> message". I took that to mean discard if $local_part is not expanded,

which
> is the the opposite of what I wanted to do.
>
> Based on your suggestion, this is the router I've come up with:
>
> absorb_me_too:
>     driver  = redirect
>     condition = ${if and { \
> {eq {$sender_address} {$local_part@$domain}} \
> {! eq{$original_local_part@$original_domain}{$local_part@$domain}} \
> } {true} {false} }
>     data = :blackhole:

>
> So far all the tests I've done show it to be doing what is required.


Ahh, you're right. My text was misstated, but my logic was right. Your
version obviously is right as well.

Sorry for any confusion caused.

David