Help with archive server
Hi, I want to build a system where 6 months old mail to be moved to archive server to keep my mailbox clean and fast.
Is there any way to achieve the same using any pre-built binary shipped with dovecot ?
Thanks and Regards
Joy
Am 17.02.2015 um 13:50 schrieb Joy:
Hi, I want to build a system where 6 months old mail to be moved to archive server to keep my mailbox clean and fast.
Is there any way to achieve the same using any pre-built binary shipped with dovecot ?
Thanks and Regards
Joy
Classical Mail Archive means store a copy of all incoming mail ( without spam )
like i.e here
https://sys4.de/de/blog/2013/02/07/mailarchiv-mit-dovecot-und-postfix-sortie...
But i think you want something other, perhaps some imapsync via cron daily executed at the archive server ,from your active mailbox to your archive mailbox for mail older then 6 months
http://linux.die.net/man/1/imapsync
watch
[--maxage <int>] [--minage <int>]
for archive mailbox on the same dovecot server
http://wiki2.dovecot.org/Tools/Doveadm/Move http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
may also solve it
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
Am 17.02.2015 um 15:09 schrieb Robert Schetterer:
Am 17.02.2015 um 13:50 schrieb Joy:
Hi, I want to build a system where 6 months old mail to be moved to archive server to keep my mailbox clean and fast.
Is there any way to achieve the same using any pre-built binary shipped with dovecot ?
Thanks and Regards
Joy
Classical Mail Archive means store a copy of all incoming mail ( without spam )
like i.e here
https://sys4.de/de/blog/2013/02/07/mailarchiv-mit-dovecot-und-postfix-sortie...
But i think you want something other, perhaps some imapsync via cron daily executed at the archive server ,from your active mailbox to your archive mailbox for mail older then 6 months
http://linux.die.net/man/1/imapsync
watch
[--maxage <int>] [--minage <int>]
for archive mailbox on the same dovecot server
http://wiki2.dovecot.org/Tools/Doveadm/Move http://wiki2.dovecot.org/Tools/Doveadm/SearchQuery
may also solve it
http://wiki2.dovecot.org/Tools/Doveadm/Import
is maybe better
after that you need expunge allready archived mail in the active mailbox
but there may lots of other chances solving it
i.e dsync, rsync but thats all depending to your setup i.e mailbox format, involved servers etc.
Best Regards MfG Robert Schetterer
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
participants (2)
-
Joy
-
Robert Schetterer