[Dovecot] dsync should sync sieve-dirs to!
Having dsync to make backups from existing mail-spaces, it would be nice to make dsync syncing the sieve-dirs too. -Otherweise backups aren't complete...
Peer
-- Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting
http://www.heinlein-support.de Tel: 030 / 40 50 51 - 0 Fax: 030 / 40 50 51 - 19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
Why not just add a line for your local sieve folder to the same shell/cgi script that executes dsync?
On Oct 28, 2011, at 4:41 PM, Peer Heinlein wrote:
Having dsync to make backups from existing mail-spaces, it would be nice to make dsync syncing the sieve-dirs too. -Otherweise backups aren't complete...
Peer
-- Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting
http://www.heinlein-support.de Tel: 030 / 40 50 51 - 0 Fax: 030 / 40 50 51 - 19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
Am Samstag, 29. Oktober 2011, 02:34:07 schrieb Dovecot-GDH:
Why not just add a line for your local sieve folder to the same shell/cgi script that executes dsync?
Why using dsync at all?
Peer
-- Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting
http://www.heinlein-support.de Tel: 030 / 40 50 51 - 0 Fax: 030 / 40 50 51 - 19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
Am 29.10.2011 01:41, schrieb Peer Heinlein:
Having dsync to make backups from existing mail-spaces, it would be nice to make dsync syncing the sieve-dirs too. -Otherweise backups aren't complete...
Peer
Hi Peer meanwhile , you may use rsync additional as workaround
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am Samstag, 29. Oktober 2011, 09:15:31 schrieb Robert Schetterer:
Hi Peer meanwhile , you may use rsync additional as workaround
Yes, I'm using rsync for 15 years for this.
I'd like to STOP using rsync.
It should be possible to make a *complete* backup/mirror of a user's mailbox with dsync. And a backup/mirror without sieve is incomplete.
Peer
-- Heinlein Professional Linux Support GmbH Linux: Akademie - Support - Hosting
http://www.heinlein-support.de Tel: 030 / 40 50 51 - 0 Fax: 030 / 40 50 51 - 19
Zwangsangaben lt. §35a GmbHG: HRB 93818 B / Amtsgericht Berlin-Charlottenburg, Geschäftsführer: Peer Heinlein -- Sitz: Berlin
Am 30.10.2011 13:16, schrieb Peer Heinlein:
Am Samstag, 29. Oktober 2011, 09:15:31 schrieb Robert Schetterer:
Hi Peer meanwhile , you may use rsync additional as workaround
Yes, I'm using rsync for 15 years for this.
I'd like to STOP using rsync.
It should be possible to make a *complete* backup/mirror of a user's mailbox with dsync. And a backup/mirror without sieve is incomplete.
Peer
yes youre right
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Why using dsync at all?
dsync is a tool used for synchronizing mailboxes.
It should be possible to make a *complete* backup/mirror of a user's mailbox with sync
The Sieve folder is not part of the mailbox.
On Oct 30, 2011, at 5:24 AM, Robert Schetterer wrote:
Am 30.10.2011 13:16, schrieb Peer Heinlein:
Am Samstag, 29. Oktober 2011, 09:15:31 schrieb Robert Schetterer:
Hi Peer meanwhile , you may use rsync additional as workaround
Yes, I'm using rsync for 15 years for this.
I'd like to STOP using rsync.
It should be possible to make a *complete* backup/mirror of a user's mailbox with dsync. And a backup/mirror without sieve is incomplete.
Peer
yes youre right
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Am 30.10.2011 22:06, schrieb Dovecot-GDH:
Why using dsync at all?
dsync is a tool used for synchronizing mailboxes.
It should be possible to make a *complete* backup/mirror of a user's mailbox with sync
The Sieve folder is not part of the mailbox.
thats a definiton question, anyway Peer is right it would be a nice to have, but not hardly needed no need to flame in any case
On Oct 30, 2011, at 5:24 AM, Robert Schetterer wrote:
Am 30.10.2011 13:16, schrieb Peer Heinlein:
Am Samstag, 29. Oktober 2011, 09:15:31 schrieb Robert Schetterer:
Hi Peer meanwhile , you may use rsync additional as workaround
Yes, I'm using rsync for 15 years for this.
I'd like to STOP using rsync.
It should be possible to make a *complete* backup/mirror of a user's mailbox with dsync. And a backup/mirror without sieve is incomplete.
Peer
yes youre right
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
Op 31-10-2011 7:17, Robert Schetterer schreef:
The Sieve folder is not part of the mailbox.
Am 30.10.2011 22:06, schrieb Dovecot-GDH: thats a definiton question, anyway Peer is right it would be a nice to have, but not hardly needed no need to flame in any case
I wonder how extensible dsync is in this respect. It doesn't sound too difficult to implement, but so far I haven't looked at its sources.
Regards,
Stephan.
On Domingo 30 Octubre 2011 13:16:59 Peer Heinlein escribió:
It should be possible to make a complete backup/mirror of a user's mailbox with dsync. And a backup/mirror without sieve is incomplete.
And procmail rules? And maildrop rules? And someones post-login script based rules?
To me, mailboxes are mailboxes, and dsync works fine.
And yes: having a tool to migrate rules (sieve or whatever) would be nice.
Joseba Torre. Vicegerencia de TICs, área de Explotación
- Joseba Torre <joseba.torre@ehu.es>:
On Domingo 30 Octubre 2011 13:16:59 Peer Heinlein escribió:
It should be possible to make a complete backup/mirror of a user's mailbox with dsync. And a backup/mirror without sieve is incomplete.
And procmail rules?
They're not stored "within" dovecot's reach. procmail is not a part of dovecot.
And maildrop rules?
They're not stored "within" dovecot's reach. maildrop is not a part of dovecot.
And someones post-login script based rules?
Good point. But usually the admin adds those.
To me, mailboxes are mailboxes, and dsync works fine.
And yes: having a tool to migrate rules (sieve or whatever) would be nice.
Yup. Especially since it's a bit tricky to see whether a user has rules.
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de
Am 31.10.2011 11:03, schrieb Ralf Hildebrandt:
- Joseba Torre <joseba.torre@ehu.es>:
On Domingo 30 Octubre 2011 13:16:59 Peer Heinlein escribió:
It should be possible to make a complete backup/mirror of a user's mailbox with dsync. And a backup/mirror without sieve is incomplete.
And procmail rules?
They're not stored "within" dovecot's reach. procmail is not a part of dovecot.
And maildrop rules?
They're not stored "within" dovecot's reach. maildrop is not a part of dovecot.
And someones post-login script based rules?
Good point. But usually the admin adds those.
jep an normally they are in some global backup for the dovecot conf
To me, mailboxes are mailboxes, and dsync works fine.
And yes: having a tool to migrate rules (sieve or whatever) would be nice.
Yup. Especially since it's a bit tricky to see whether a user has rules.
hm, idea , any chance to feed sieve rules in a database backend or ldap etc so it would be part of backing up the db/dir service guess we have to wait for the hackers to get qualified answers *g
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
- Stephan Bosch <stephan@rename-it.nl>:
On 31-10-2011 11:29, Robert Schetterer wrote:
hm, idea , any chance to feed sieve rules in a database backend or ldap etc so it would be part of backing up the db/dir service
That is on the TODO list. However, this is not high-priority.
You might want to find out how SOGo <http://www.sogo.nu> stores sieve rules in SQL.
p@rick
-- state of mind ()
Franziskanerstraße 15 Telefon +49 89 3090 4664 81669 München Telefax +49 89 3090 4666
Amtsgericht München Partnerschaftsregister PR 563
Am 31.10.2011 16:58, schrieb Stephan Bosch:
On 31-10-2011 11:29, Robert Schetterer wrote:
hm, idea , any chance to feed sieve rules in a database backend or ldap etc so it would be part of backing up the db/dir service
That is on the TODO list. However, this is not high-priority.
sounds nice to me, thx
Regards,
Stephan.
-- Best Regards
MfG Robert Schetterer
Germany/Munich/Bavaria
On 29.10.2011, at 2.41, Peer Heinlein wrote:
Having dsync to make backups from existing mail-spaces, it would be nice to make dsync syncing the sieve-dirs too. -Otherweise backups aren't complete...
dsync was originally meant to be a way to do two-way syncing of mailboxes without losing any changes. That's not really possible to do with Sieve scripts. I guess the best that could be done is to copy the one with the latest timestamp. But if you have multiple Sieve scripts even that doesn't work well, since dsync can't know if a script was added on one side or deleted from another side. Although if scripts were only managed via ManageSieve, the last problem could be solved with some log file.
For "dsync backup" I guess it could be useful to have a setting with a list of files/dirs that dsync would always upload to remote..
participants (8)
-
Dovecot-GDH
-
Joseba Torre
-
Patrick Ben Koetter
-
Peer Heinlein
-
Ralf Hildebrandt
-
Robert Schetterer
-
Stephan Bosch
-
Timo Sirainen