Am 14.09.2014 um 22:41 schrieb Lev Serebryakov:
I'm migrating from «old skool» solution with one mail client (MUA) on one computer, which retrieves mail via POP3, sorts it and manages it locally to installation when there are several MUAs on different devices, accessing mail via IMAP4, and all sorting and management should be server-side.
Sorting is “easy”: sieve. Here are some nuisance (like, if I want to rename folder/mailbox I need to edit script manually. BTW, it looks like that such thing could be done automagically, as language is very simple and find all references to mailboxes is not too hard task), but it works.
But is here good solution for expiration? I have abut 50 folders (mailboxes) and rules are very different for them. They are mostly time-based (like "last 30 days"), but some folders are count-limited ("last 2000 messages") and some folders should have time limit but non-read messages could not be deleted at all.
Ok, Thunderbird almost could do it (it doesn't have “don't remove unread messages” option), but I don't want to have any meaningful configuration in MUAs, as each of it could be non-active for long time.
Only thing I could find about expiration in dovecot documentation is "doveadm expunge" and helper "Expire" plugin, but it looks like very low-level solution for admins, it could not be managed from client side without direct ssh access to server and it is, in general, very inconvenient.
Is here any better solution, maybe, 3rd party one?
i am not sure what exact you searching for if youre on linux try look here
http://www.athensfbc.com/imap_tools/details.html http://imapsync.lamiral.info/
thunderbird also has plugins like
https://addons.mozilla.org/de/thunderbird/addon/awesome-auto-archive/
however i would prefer doveadm expunge via ssh or cron etc
you might also try external sieve plugin to execute doveadm expunge etc via some parameter perhaps as global rule
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