Re: Sieve to process list mail based on list-ID

2018-02-17 Thread LuKreme
On Feb 16, 2018, at 16:23, Stephan Bosch wrote: > you should call the > spam filter from the MTA, before it gets to Dovecot. If you really want > to do it in Sieve, you need to use extprograms plugin with the > non-standard "vnd.dovecot.filter" extension: Thanks for this. I generally exclude my l

Re: Sieve to process list mail based on list-ID

2018-02-16 Thread Stephan Bosch
Op 2/16/2018 om 3:36 AM schreef @lbutlr: > Before I spend a lot of time trying to replicate a procmail script that > automatically sorts list mail into mailboxes based on the List-ID header (and > possibly some other data) I thought I'd check if someone had already done > this for sieve. > > Bas

Re: Sieve to process list mail based on list-ID

2018-02-16 Thread @lbutlr
On 2018-02-16 (00:18 MST), Aki Tuomi wrote: > > On 16.02.2018 04:36, @lbutlr wrote: >> >> But I am looking for something more generic, along the lines of >> >> $myLists = {"dovecot", "postfix", "other-list") >> if header :contains "List-ID" "<([^\.])+." { $myID $1; } >> if $myList :contains $my

Re: Sieve to process list mail based on list-ID

2018-02-15 Thread Aki Tuomi
On 16.02.2018 04:36, @lbutlr wrote: > Before I spend a lot of time trying to replicate a procmail script that > automatically sorts list mail into mailboxes based on the List-ID header (and > possibly some other data) I thought I'd check if someone had already done > this for sieve. > > Basica

Sieve to process list mail based on list-ID

2018-02-15 Thread @lbutlr
Before I spend a lot of time trying to replicate a procmail script that automatically sorts list mail into mailboxes based on the List-ID header (and possibly some other data) I thought I'd check if someone had already done this for sieve. Basically, what I do now in procmail is 1. Get the lis