Sieve by the addressee

Bernd Petrovitsch bernd at petrovitsch.priv.at
Sat Feb 20 20:50:03 EET 2021


Hi all!

On 20/02/2021 19:02, Shawn Heisey wrote:
> On 2/20/2021 8:50 AM, Markus Schönhaber wrote:
>> I consider it a better idea to filter mailing list messages by their
>> List-ID header.
> 
> I agree with Markus.  It's what I do.  This works well:
> 
> if header :regex "list-id" "solr-user.lucene.apache.org"

I use :contains or :is ...

> {
>         fileinto "asf.solr-user";
>         stop;
> }
> 
> I do not know if List-ID is common to all mailing list software, but

It should be - RFC2919 defines it and at least mailman set's it.

> even if it's not, there should be something available in the message
> headers that you can use.

MfG,
	Bernd
-- 
Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
     There is NO CLOUD, just other people's computers. - FSFE
                     LUGA : http://www.luga.at


More information about the dovecot mailing list