[Dovecot] restoring mails and directories

2012-04-30 Thread oni-neko
Good day! is there an easy way to restore e.g. deleted mails and/or mail directories? let me specify: I'm running dovecot 1.2.9 on a current ubuntu lts. It is set to Maildir and I backup the folder with the users maildata nightly via rsync. now, when someone deletes a mail that they still

[Dovecot] Dovecot dsync mail replication issues

2012-04-30 Thread Reuben Farrelly
Hi, I'm trying to set up some dsync based replication between two hosts on my network. The current topology is a single server running Postfix with a single dovecot installation with a Maildir per user (only 4 users including myself). No NFS, just local system users on ext4. I am only

Re: [Dovecot] Refiltering mails without loosing flags

2012-04-30 Thread Stephan Bosch
On 4/28/2012 6:07 PM, Dieter Knopf wrote: 2011/12/12 Stephan Boschstep...@rename-it.nl: Since last week, the new sieve-filter command line tool, which is intended for just such a task, is part of the normal compile output for Pigeonhole 0.3.x for Dovecot v2.1. Unfortunately, it is not released

Re: [Dovecot] restoring mails and directories

2012-04-30 Thread Thierry de Montaudry
On 30 Apr 2012, at 10:59, oni-n...@gmx.net wrote: Good day! is there an easy way to restore e.g. deleted mails and/or mail directories? let me specify: I'm running dovecot 1.2.9 on a current ubuntu lts. It is set to Maildir and I backup the folder with the users maildata nightly via rsync.

Re: [Dovecot] Sieve doesn't find user scripts

2012-04-30 Thread Stephan Bosch
On 4/29/2012 1:04 PM, Jochen Spieker wrote: Hi, I want to use Sieve filtering with my Dovecot 1.2 installation on Debian squeeze. I have a virtual domain setup using Portgresql. ManageSieve works fine so far, I can edit and activate/deactive scripts (using Thunderbird + Plugin) and they show

Re: [Dovecot] Sieve doesn't find user scripts

2012-04-30 Thread Jochen Spieker
Stephan Bosch: AFAICS, the sieve module is loaded and the home directory is correct. The content of this directory looks like this: Could you enable mail_debug in your configuration? This will provide more detail on why it is not finding a script. With globally enabled mail_debug and

Re: [Dovecot] Sieve doesn't find user scripts

2012-04-30 Thread Timo Sirainen
On 30.4.2012, at 17.43, Jochen Spieker wrote: deliver(jrspie...@well-adjusted.de): Info: auth input: userdb_home=/srv/mail/home/well-adjusted.de/jrspieker It should say home here, not userdb_home.

Re: [Dovecot] Sieve doesn't find user scripts

2012-04-30 Thread Jochen Spieker
Timo Sirainen: On 30.4.2012, at 17.43, Jochen Spieker wrote: deliver(jrspie...@well-adjusted.de): Info: auth input: userdb_home=/srv/mail/home/well-adjusted.de/jrspieker It should say home here, not userdb_home. Thanks, that's it! dovecot-deliver.log now reads:

Re: [Dovecot] Dovecot dsync mail replication issues

2012-04-30 Thread Michescu Andrei
Hello Reuben, I'm having a very similar setup. The 2 main differences: all my users are virtual and the 2nd server is on a different continent (high latency sync). Unfortunately the dsync is not working for the moment. Timo is in the process of redesigning it. So once it is release will know

[Dovecot] question dovecot Inheritance global acl vs userfolder acl

2012-04-30 Thread Robert Schetterer
Hi Timo my tests resulted in inheritance is given if a userfolder has set some acl to its new created subfolder , which is nice if some userfolder has its acl from global acl there is no inheritance to its new created subfolders, that subfolders will always created with full owner rights i am

[Dovecot] Single Instance Storage management

2012-04-30 Thread Daniel L. Miller
Was there a doveadm command that checks the SIS files and removes any not referenced? Will the doveadm purge -A catch that? -- Daniel

[Dovecot] mdbox packing

2012-04-30 Thread Daniel L. Miller
Is there a way to manually force an mdbox storage to be rebuilt into new files? Particularly files of the maximum size? -- Daniel

[Dovecot] Dovecot/doveadm crash

2012-04-30 Thread Daniel L. Miller
Having a problem with a mailbox. I've been trying to rebuild - but doveadm force-resync crashes. This is mdbox with sis. doveadm purge -u dmil...@amfes.com doveadm(dmil...@amfes.com): Panic: file istream.c: line 466 (i_stream_grow_buffer): assertion failed: (stream-max_buffer_size 0)

Re: [Dovecot] mdbox packing

2012-04-30 Thread Marcin Mirosław
W dniu 2012-04-30 21:43, Daniel L. Miller pisze: Is there a way to manually force an mdbox storage to be rebuilt into new files? Particularly files of the maximum size? Hello, probably doveadm purge should do it. Regards, Marcin

[Dovecot] Shared INBOX change in v2.1.6?

2012-04-30 Thread Timo Sirainen
Previously Dovecot has shown shared INBOX like: * LIST (\HasChildren) / shared/tss2 * LIST (\HasNoChildren) / shared/tss2/INBOX * LIST (\HasNoChildren) / shared/tss2/foo The last change in hg makes it return simply (same as with Cyrus): * LIST (\HasChildren) / shared/tss2 * LIST

Re: [Dovecot] mdbox packing

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 12:43 -0700, Daniel L. Miller wrote: Is there a way to manually force an mdbox storage to be rebuilt into new files? Particularly files of the maximum size? You could do it with dsync.

Re: [Dovecot] Single Instance Storage management

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 12:42 -0700, Daniel L. Miller wrote: Was there a doveadm command that checks the SIS files and removes any not referenced? Will the doveadm purge -A catch that? Nope.

Re: [Dovecot] question dovecot Inheritance global acl vs userfolder acl

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 20:55 +0200, Robert Schetterer wrote: Hi Timo my tests resulted in inheritance is given if a userfolder has set some acl to its new created subfolder , which is nice if some userfolder has its acl from global acl there is no inheritance to its new created subfolders,

Re: [Dovecot] Dovecot dsync mail replication issues

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 12:25 -0400, Michescu Andrei wrote: tornado Maildir # doveadm sync -u lyn remote:r...@dustbowl.reub.net dsync-local(lyn): Error: Can't rename mailbox INBOX_7a86a62d465a974fb92f3b258734 to INBOX: Target mailbox already exists The setup will run fine as long as you

Re: [Dovecot] restoring mails and directories

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 10:59 +0200, oni-n...@gmx.net wrote: Good day! is there an easy way to restore e.g. deleted mails and/or mail directories? let me specify: I'm running dovecot 1.2.9 on a current ubuntu lts. It is set to Maildir and I backup the folder with the users maildata nightly

Re: [Dovecot] Log messages

2012-04-30 Thread Timo Sirainen
On Mon, 2012-04-30 at 10:38 +0930, Stephen Davies wrote: I asked about log synch error back in March and have (repeatedly) deleted all .imap files but the errors continue. .. Apr 30 09:00:12 server dovecot: imap(john): Error: Log synchronization error at seq=2,offset=929952 for

Re: [Dovecot] lmtp proxy timeout while waiting for reply to DATA reply

2012-04-30 Thread Timo Sirainen
On Sat, 2012-04-28 at 13:00 +0200, Daniel Parthey wrote: we are experiencing similar sporadic data timeout issues with dovecot 2.0.20 as in http://dovecot.org/pipermail/dovecot/2011-June/059807.html at least once a week. Some mails get temporarily deferred in the postfix queue since dovecot

Re: [Dovecot] [PATCH] Dovecot 2.1 compiling fix for AIX

2012-04-30 Thread Timo Sirainen
Committed: http://dovecot.org/pipermail/dovecot/2011-June/059987.html On Fri, 2012-04-27 at 16:49 +0900, SATOH Fumiyasu wrote: Revised patch. Sorry. At Fri, 27 Apr 2012 16:20:28 +0900, SATOH Fumiyasu wrote: I'm trying to build Dovecot 2.1.5 on AIX 6.1 and got the following build error:

Re: [Dovecot] 2.1.5: Panic: file mailbox-list-fs.c: line 156 (fs_list_get_path): assertion failed: (mailbox_list_is_valid_pattern(_list, name))

2012-04-30 Thread Timo Sirainen
On Fri, 2012-04-27 at 16:34 +1000, Nick Urbanik wrote: I upgraded to 2.1.5, and we have the same assertion failure, on the same mailbox: Apr 27 16:02:03 imap(nu-imaptest00...@example.com): Panic: file mailbox-list-fs.c: line 156 (fs_list_get_path): assertion failed:

Re: [Dovecot] SETANNOTATION for Dovecot

2012-04-30 Thread Timo Sirainen
On Sat, 2012-04-28 at 18:09 +0200, Dieter Knopf wrote: i'm using kmail2 and for Folder Settings the SETANNOATION command is needed. Is there any way to add this command to Dovecot? I already found a dovecot-metadata-plugin That might do it, but it's not fully finished yet. but there is

[Dovecot] dovecot sasl with postfix: SASL LOGIN authentication failed: Connection lost to authentication server

2012-04-30 Thread David Jonas
When using dovecot (2.1.5) sasl with postfix (2.8.4) behind nginx smtp proxy I am seeing a ton of errors of the form: postfix/smtpd[7731]: warning: unknown[192.168.0.6]: SASL LOGIN authentication failed: Connection lost to authentication server Nothing is printed by dovecot in the logs

Re: [Dovecot] Dovecot/doveadm crash

2012-04-30 Thread Daniel L. Miller
On 4/30/2012 1:16 PM, Daniel L. Miller wrote: Having a problem with a mailbox. I've been trying to rebuild - but doveadm force-resync crashes. This is mdbox with sis. Here's a backtrace - gdb --args doveadm force-resync -u msie...@amfes.com Sent GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2