[Dovecot] Dovecot 1.1.4 / Maildir++ quota and move to trash
Hello,
Seems there is some nasty problems with Dovecot 1.1.4...
We use Maildir++ quota, and when moving mail to Trash, Dovecot just
drop the connection... when the maildir is overquota.
Is there any way to avoid that and just move the mail to the trash
allowing user to expunge their mail easily without calling support to
do rm -rf Maildir/cur ?
Thanks, /Xavier
On Oct 17, 2008, at 6:28 PM, Xavier Beaudouin wrote:
Seems there is some nasty problems with Dovecot 1.1.4...
We use Maildir++ quota, and when moving mail to Trash, Dovecot just
drop the connection... when the maildir is overquota.
Dovecot really shouldn't be dropping the connection. What do the logs
say about it? Either it crashed (which should be in logs) or the
client disconnected itself (and you should have a "Logged out" message
in logs). http://wiki.dovecot.org/Logging
Is there any way to avoid that and just move the mail to the trash
allowing user to expunge their mail easily without calling support
to do rm -rf Maildir/cur ?
Give extra quota for Trash mailbox so copying there is still allowed
while otherwise over quota. See quota rules in http://wiki.dovecot.org/Quota/1.1
- Xavier Beaudouin kiwi@oav.net:
Hello,
Seems there is some nasty problems with Dovecot 1.1.4...
We use Maildir++ quota, and when moving mail to Trash, Dovecot just drop the connection... when the maildir is overquota.
Same here!
-- Ralf Hildebrandt (Ralf.Hildebrandt@charite.de) snickebo@charite.de Postfix - Einrichtung, Betrieb und Wartung Tel. +49 (0)30-450 570-155 http://www.arschkrebs.de I'm looking for a job The three Rs of Microsoft support: Retry, Reboot, Reinstall.
On Fri, 2008-10-17 at 17:38 +0200, Ralf Hildebrandt wrote:
- Xavier Beaudouin kiwi@oav.net:
Hello,
Seems there is some nasty problems with Dovecot 1.1.4...
We use Maildir++ quota, and when moving mail to Trash, Dovecot just drop the connection... when the maildir is overquota.
Same here!
I guess you mean those crashes you've been reporting?
Le 18 oct. 08 à 13:55, Timo Sirainen a écrit :
On Fri, 2008-10-17 at 17:38 +0200, Ralf Hildebrandt wrote:
- Xavier Beaudouin kiwi@oav.net:
Hello,
Seems there is some nasty problems with Dovecot 1.1.4...
We use Maildir++ quota, and when moving mail to Trash, Dovecot
just drop the connection... when the maildir is overquota.Same here!
I guess you mean those crashes you've been reporting?
I have tried the method to add more space especialy for Trash...
No luck...
On logfile I have :
Oct 18 19:09:42 mail01 dovecot: IMAP(kiwi127@oav.net): copy: uid=183,
dest=Trash, msgid=48FA1717-002.quota@mail02.oav.net, size=999
Oct 18 19:09:42 mail01 dovecot: Fatal: IMAP(kiwi127@oav.net): trash:
Namespace not found for mailbox 'Trash'
And on the imap client (Squirrelmail) :
ERREUR : Connexion interrompue par le serveur IMAP. (French : server
has closed the connection
Query: COPY 183 "INBOX.Trash"
:/
/Xavier
On Sat, 2008-10-18 at 19:12 +0200, Xavier Beaudouin wrote:
I have tried the method to add more space especialy for Trash...
No luck...
On logfile I have :
Oct 18 19:09:42 mail01 dovecot: IMAP(kiwi127@oav.net): copy: uid=183,
dest=Trash, msgid=48FA1717-002.quota@mail02.oav.net, size=999 Oct 18 19:09:42 mail01 dovecot: Fatal: IMAP(kiwi127@oav.net): trash:
Namespace not found for mailbox 'Trash' .. Query: COPY 183 "INBOX.Trash"
So, apparently your only namespace has "INBOX." prefix and you've configured trash plugin with "Trash" mailbox. You should have configured it to use "INBOX.Trash" instead. The same goes for quota configuration.
Le 18 oct. 08 à 19:54, Timo Sirainen a écrit :
On Sat, 2008-10-18 at 19:12 +0200, Xavier Beaudouin wrote:
I have tried the method to add more space especialy for Trash...
No luck...
On logfile I have :
Oct 18 19:09:42 mail01 dovecot: IMAP(kiwi127@oav.net): copy: uid=183, dest=Trash, msgid=48FA1717-002.quota@mail02.oav.net, size=999 Oct 18 19:09:42 mail01 dovecot: Fatal: IMAP(kiwi127@oav.net): trash: Namespace not found for mailbox 'Trash' .. Query: COPY 183 "INBOX.Trash"
So, apparently your only namespace has "INBOX." prefix and you've configured trash plugin with "Trash" mailbox. You should have
configured it to use "INBOX.Trash" instead. The same goes for quota
configuration.
I did, but this doesn't fix the problem as well...
/Xavier
On Sat, 2008-10-18 at 20:09 +0200, Xavier Beaudouin wrote:
Le 18 oct. 08 à 19:54, Timo Sirainen a écrit :
On Sat, 2008-10-18 at 19:12 +0200, Xavier Beaudouin wrote:
I have tried the method to add more space especialy for Trash...
No luck...
On logfile I have :
Oct 18 19:09:42 mail01 dovecot: IMAP(kiwi127@oav.net): copy: uid=183, dest=Trash, msgid=48FA1717-002.quota@mail02.oav.net, size=999 Oct 18 19:09:42 mail01 dovecot: Fatal: IMAP(kiwi127@oav.net): trash: Namespace not found for mailbox 'Trash' .. Query: COPY 183 "INBOX.Trash"
So, apparently your only namespace has "INBOX." prefix and you've configured trash plugin with "Trash" mailbox. You should have
configured it to use "INBOX.Trash" instead. The same goes for quota
configuration.I did, but this doesn't fix the problem as well...
Then you'll get at least a different error message. What is it then?
On 10/18/2008 2:10 PM, Timo Sirainen wrote:
Query: COPY 183 "INBOX.Trash"
So, apparently your only namespace has "INBOX." prefix and you've configured trash plugin with "Trash" mailbox. You should have
configured it to use "INBOX.Trash" instead. The same goes for quota
configuration.
I did, but this doesn't fix the problem as well...
Then you'll get at least a different error message. What is it then?
Also, please always provide at least output of dovecot -n to confirm settings being used are what you *think* are being used...
--
Best regards,
Charles
participants (4)
-
Charles Marcus
-
Ralf Hildebrandt
-
Timo Sirainen
-
Xavier Beaudouin