I want to perform an action only upon the existance of two specific
addresses in the (To|Cc|Bcc) fields. But those addresses could be in a
different order every time; I'm not yet crafty enough with regular
expressions to be able to do this on a single condition line.
This *almost* works:
:0
*
TO(add1(_at_)foo(_dot_)com(_dot_)*add2@foo.com|add2(_at_)foo(_dot_)com(_dot_)*add1@foo.com)
some-action
It only works, however, if both addresses are in the TO: field. If either
or both of them are in the CC: field, this regexp doesn't match. :-(