Merging maildirs

2015-08-27 Thread Petter Gunnerud
Hi List How do I merge files from one maildir into another maildir? Long version: I've been using dovecot/postfix for a 12 user environment for several years, and today was the first time I ran into an issue I could not solve from reading the documentation. The server is gentoo running on

Panic in service(log)

2015-08-27 Thread Eugene Paskevich
Hello, I'm using the Debian builds of dovecot-2.2 by S[r]us. Today I started getting the following panic: log: Panic: file priorityq.c: line 122 (priorityq_remove_idx): assertion failed: (idx count) log: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x7f1ae) [0x7fd368dc31ae] -

Re: question on autch cache parameters

2015-08-27 Thread matthias lay
hi teemu, thx for your reply. the user is a masteruser that hast a static passwd file. this is where the ACL_GROUPS is applied cat /etc/dovecot/passwd.masteruser master@uma:{SHA}ojN+jsbELZbRJeRb0qj9+MMjPUs=::userdb_acl_groups=umareadmaster allow_nets=127.0.0.1 ## *

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 13:07, Muzaffer Tolga Ozses wrote: Make it 755 and be done with it. Unfortunately that doesn't work either. I still get that dovecot can't create mailbox. :-/

Re: Mailbox can't be created

2015-08-27 Thread Alexander Dalloz
Am 27.08.2015 um 13:46 schrieb Paulo Matos: On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail then there's no problem, if it runs as

Re: Panic in service(log)

2015-08-27 Thread Stephan Bosch
Op 8/27/2015 om 6:17 PM schreef Eugene Paskevich: 27.08.2015, 16:09, Eugene Paskevich eug...@raptor.kiev.ua: Hello, I'm using the Debian builds of dovecot-2.2 by S[r]us. Today I started getting the following panic: log: Panic: file priorityq.c: line 122 (priorityq_remove_idx): assertion

Allow delivery to existing accounts only with LDAP and static

2015-08-27 Thread Miloslav Hůla
Hi, we are using LDAP binding as a passdb, and static with allow_all_users=yes as an userdb. Works fine, but problem is, Maildirs are created for non-existent accounts too. We would like to prevent it. The LDAP binding does not supporta user lookups. Is the correct way to use

Re: Merging maildirs

2015-08-27 Thread Daniel Tröder
On 08/27/2015 16:26, Petter Gunnerud wrote: Hi List How do I merge files from one maildir into another maildir? Long version: I've been using dovecot/postfix for a 12 user environment for several years, and today was the first time I ran into an issue I could not solve from reading the

Re: Panic in service(log)

2015-08-27 Thread Eugene Paskevich
27.08.2015, 16:09, Eugene Paskevich eug...@raptor.kiev.ua: Hello, I'm using the Debian builds of dovecot-2.2 by S[r]us. Today I started getting the following panic: log: Panic: file priorityq.c: line 122 (priorityq_remove_idx): assertion failed: (idx count) Just in case, here is the full

Re: IMAP hibernate feature committed

2015-08-27 Thread Thomas Leuxner
* Teemu Huovila teemu.huov...@dovecot.fi 2015.08.27 13:58: Did you specify a value other than zero for 'imap_hibernate_timeout'? Yes I did: $ doveconf imap_hibernate_timeout imap_hibernate_timeout = 1 mins I sometimes see one imap-hibernate process (only one), but several imap processes

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
Please check permissions as this sounds like a permissions issue m On 27/08/2015 12:08 PM, Paulo Matos pa...@matos-sorge.com wrote: Hi, I have setup postfix master.cf to use dovecot-lda to deliver (using -m) all messages to PreInbox: dovecot unix - n n - -

Re: question on autch cache parameters

2015-08-27 Thread Teemu Huovila
Hello Thank you for your report. We really appreciate it, especially when you can pinpoint a commit. However, I am unable to reproduce this. Could you post your doveconf -n please? Im especially interested in your passdb and userdb configurations and auth-cache settings. br, Teemu Huovila

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail then there's no problem, if it runs as root it shouldn't face problems either. How

Re: IMAP hibernate feature committed

2015-08-27 Thread Teemu Huovila
On 08/26/2015 01:33 PM, Thomas Leuxner wrote: * Timo Sirainen t...@iki.fi 2015.08.25 22:21: There's no good default setting here. It depends on your userdb settings and/or mail_uid setting. So for example if your imap processes are running as vmail user, you should set service

Mailbox can't be created

2015-08-27 Thread Paulo Matos
Hi, I have setup postfix master.cf to use dovecot-lda to deliver (using -m) all messages to PreInbox: dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -a ${recipient} -d ${user}@${nexthop} -m PreINBOX

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
ps aux | grep lda On 27/08/2015 2:58 PM, Paulo Matos pa...@matos-sorge.com wrote: On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
Having said that, /home/vmail should be owned by vmail, however dovecot-lda should have write access so 700 is a bad idea. On 27/08/2015 3:00 PM, Muzaffer Tolga Ozses to...@ozses.net wrote: ps aux | grep lda On 27/08/2015 2:58 PM, Paulo Matos pa...@matos-sorge.com wrote: On 27/08/15 10:42,

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 12:46, Paulo Matos wrote: On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir is 700 for vmail:vmail. If dovecot-lda runs as vmail then there's no problem, if it runs as root it

Re: Mailbox can't be created

2015-08-27 Thread Muzaffer Tolga Ozses
Make it 755 and be done with it. On 27/08/2015 3:05 PM, Paulo Matos pa...@matos-sorge.com wrote: On 27/08/15 12:46, Paulo Matos wrote: On 27/08/15 10:42, Muzaffer Tolga Ozses wrote: Please check permissions as this sounds like a permissions issue m I am confused then. /home/vmail/Maildir

Re: mailbox deletion is not replicated correctly

2015-08-27 Thread Andre Helwig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/14/2015 10:35 AM, Andre Helwig wrote: On 04/17/2015 12:07 PM, Dennis Kuhn wrote: On 16.04.2015 20:32, Timo Sirainen wrote: On 16 Apr 2015, at 19:22, Dennis Kuhn d.k...@heinlein-support.de wrote: i can't delete several folders at once. I

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
On 27/08/15 13:00, Muzaffer Tolga Ozses wrote: ps aux | grep lda Strange... postfix 1315 0.0 0.1 121220 7472 ?S12:59 0:00 pipe -n dovecot -t unix flags=DRhu user=vmail vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -a ${recipient} -d ${user}@${nexthop} -m PreINBOX

Re: Mailbox can't be created

2015-08-27 Thread Paulo Matos
dovecot-lda is being executed as vmail so it shouldn't be a problem in theory. On 27/08/2015 13:03, Muzaffer Tolga Ozses wrote: Having said that, /home/vmail should be owned by vmail, however dovecot-lda should have write access so 700 is a bad idea. On 27/08/2015 3:00 PM, Muzaffer