sieve: is it possible to filter ALL mailing lists (with header List-Id) to their folders with ONE rule?
Robert Schetterer
rs at sys4.de
Sat Sep 13 05:58:19 UTC 2014
Am 12.09.2014 um 21:40 schrieb Dominik Breu:
> Hello list,
>
> just a quick guess from my side:
>
> if header :matches "List-ID" "<*.*.*>" {
> fileinto "INBOX.${3}.${2}.${1}"; stop;
> }
>
> this should do the trick
>
> -dominik
nice
i think ,you might need listescape plugin for folders with dots, depend
to your namespace setup
>
> Am Freitag, den 12.09.2014, 20:37 +0200 schrieb A. Schulze:
>> Lev Serebryakov:
>>
>>> List-Id: This is decription of list <list-name.host.org>
>>>
>>> will be put into folder "org.host.list-name" where "." is namespace
>>> separator (so, such folders will be shown as hierarchy in mail client)?
>>
>> :-)
>> had the same idea while writing my sieve file ...
>>
>> Another idea would be a key -> value map
>> key : list-id
>> value: foldername
>>
>> Andreas
Best Regards
MfG Robert Schetterer
--
[*] sys4 AG
http://sys4.de, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Marc Schiffbauer
Aufsichtsratsvorsitzender: Florian Kirstein
More information about the dovecot
mailing list