Crafting a filter for "to recipient R and only recipient R"

Tim Chase mutt at tim.thechases.com
Mon Feb 3 14:17:57 UTC 2025


Howdy,

I've been trying to come up with a way to create a filter for mail where
my wife is the only recipient, but having trouble crafting it.  The aim
would be to craft a hook based on something like

  ~t sweetheart at example.org [magic here]

pulling in a different (disgustingly smoochy) .signature for her if
she's the only recipient, but if anybody else is in the To: or CC: or
BCC: just use the default signature.

Is there a way to do this that I've missed?

Thanks!

-tkc
--







More information about the Mutt-users mailing list