On Mon, Oct 12, 2015 at 04:51:23PM +0200, Gregor Zattler wrote:
> I would wish to limit/search etc. emails which are addressed to a
> group of 6 email addresses. But %C matches if one of the
> addresses in the emails header matches one of the groups email
> addresses. This does not check if all addresses match nor if
> there are addresses which are not part of the group.
>
> The limit/search should not be triggered if only one or some of
> the addresses match but all of them and none else. Is this
> doable? if so, how?
You can require all to match by using the search pattern:
~C us...@example.com ~C us...@example.net ~C foo@domain.invalid
However, I can't think of a way within Mutt to limit to only those N
addresses and no othersĀ (though you could exclude explicit addresses
with '!~C bar@...').
You'd probably have to either limit further by hand, or write a script
to do this.
w