On Thu, 4 Jul 2019 18:17:36 +0300 Reco <recovery...@enotuniq.net> wrote:
... > For instance, your e-mail has this References header: > > References: <e1hihdn-00068j...@enotuniq.net> > <20190703153922.gz2...@eeg.ccf.org> > <e1hihr4-0006a9...@enotuniq.net> > > So, assuming that you wish to block threads that are started by me, > participated by me, etc, you'll need (:h should correctly process a > multiline header): > > if ( /^From:.*recovery...@enotuniq.net/:h ) > to /dev/null > if ( /^References:.*enotuniq.net/:h ) > to /dev/null > > But that assumes that everybody in the thread are using a sane e-mail > client. And relies on Message-ID that can include literally anything > (but it does include a domain most of the time). Wait, but wouldn't that block any threads referring to any mail sent from any address at the specified domain? This might work fine for a small domain, but it's going to be bad for mail coming from Gmail accounts ... Celejar