Filtering Messages Sent Only To A Specific Receiver

Subject: Filtering Messages Sent Only To A Specific Receiver

Date: Tue, 23 Sep 2025 17:13:36 +0300

To: notmuch@notmuchmail.org

Cc:

From: Cihat Altuntaş


Hi,

A new notmuch user here. I'm trying to filter messages sent only and
only to a certain mail address in "To" field. It shoudln't be in "CC" or
"BCC" also shoudln't contain any other e-mail addresses in "To" field.
I've checked the documentation but it says "to" filter is Probabilistic
and it can be whether To, Cc, or Bcc. Is there any other way around ?

For instance I use `^~t sales@somecompany.com` filter in Neomutt for
filtering such messages, but I couldn't make it work with notmuch.
Thanks

Best Regards  
Cihat Altuntaş
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: