Sieve by the addressee

Shawn Heisey elyograg at elyograg.org
Sat Feb 20 20:02:06 EET 2021


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"
{
         fileinto "asf.solr-user";
         stop;
}

I do not know if List-ID is common to all mailing list software, but 
even if it's not, there should be something available in the message 
headers that you can use.

Thanks,
Shawn


More information about the dovecot mailing list