[Dovecot] irregular problem on outlook + imap
Hi list, my customer say me that "sometime" he has a problem with imap server when he try to move a mail from a folder to another. The error are: """ NO [TRYCREATE] Mailbox doesn't exist: folder.with.dots and spaces and numbers"""
Like now I had connected to the server for create a "tcpdump | strings" session and the results are:
vj8q OK Idle completed. can9 LIST "" "INBOX" dtZ@
- LIST (\HasChildren) "." "INBOX" can9 OK List completed. zp2p LSUB "" "*"
- LSUB () "." "a_folder" <-cut folder list->
- LSUB () "." " folder.with.dots and spaces and numbers" <-cut about 600 folders->
and at the end:
zp2p OK Lsub completed. 3j1@ znem IDLE 2tw@
- idling (jI@ DONE Atx@ znem OK Idle completed. lylu APPEND "folder.with.dots and spaces and numbers" (\Seen) "30-Nov-2009 10:34:00 +0100" {280844} lylu NO [TRYCREATE] Mailbox doesn't exist: folder.with.dots and spaces and numbers xbci IDLE
On the maildir home (maildir:~/mail/), it's present the folder.with.dots and spaces and numbers and the same into the "subscriptions" file
My env: debian lenny with last dovecot (1.0.15-2.3) On the log, there is nothing special.
What can be?
Thanks, Michele
On Tue, 2009-12-01 at 16:19 +0100, Michele Petrazzo - Unipex wrote:
This means it's in the subscriptions file.
This means it doesn't really exist, even though it's subscribed.
On the maildir home (maildir:~/mail/), it's present the folder.with.dots and spaces and numbers and the same into the "subscriptions" file
Are you sure it's really in the ~/mail/ directory exactly the same? You could try also talking IMAP directly:
telnet localhost 143 a login user pass b list "" "folder.with.dots*"
Is it listed?
Anyway it should work fine:
a create "folder.with.dots and spaces and num1234" a OK Create completed. b append "folder.with.dots and spaces and num1234" {10}
- OK From: foo
b OK Append completed.
On Wed, Dec 09, 2009 at 02:52:00PM -0500, Timo Sirainen wrote:
Hi Folks,
This may relate to one of the few problems I see with dovecot.
This had nothing to do with outlook; rather mutt or kmail.
A couple years ago, sendmail delivered my mail to
~/Mail/<user> and I could cd to ~/Mail and grep and find the
string(s) sought.
Dovecot seems to save its mail on my mailserver as
~/Mailbox/<dotuser>/*. What do I change in the conf file to
get rid of the directory DOT prefixes?
If there is any documentation on this, please point me at it?
tia.
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
On Wed, 2009-12-09 at 12:16 -0800, Gary Kline wrote:
What do you mean by <user>? You mean different mailboxes?
If there is any documentation on this, please point me at it?
Apparently you want LAYOUT=fs, not Maildir++. http://wiki.dovecot.org/MailLocation/Maildir#Directory_layout
On Wed, Dec 09, 2009 at 03:21:54PM -0500, Timo Sirainen wrote:
That depends upon the definition of mailbox. Mail to me from,
say, "smith" was stored as ~/Mail/smith; mail from "jones" was
stored as ~/Mail/jones. In early '08, using dovecot, that
became ~Maildir/.smith/* and ~/Maildir/.jones/*. It would be
nice to get rid of the leading dot.
If there is any documentation on this, please point me at it?
Apparently you want LAYOUT=fs, not Maildir++.
Hm, I have no clue; I'm too new right now.
http://wiki.dovecot.org/MailLocation/Maildir#Directory_layout
thanks much; i'll check this page.
-- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php
Timo Sirainen wrote:
On Tue, 2009-12-01 at 16:19 +0100, Michele Petrazzo - Unipex wrote:
First of all, thanks a lot for the reply. I had lost hope!
Ok
Do you know when/why this can happen?
On the maildir home (maildir:~/mail/), it's present the folder.with.dots and spaces and numbers and the same into the "subscriptions" file
Yes
No! But since it's passed some days, my customer modify / rename and delete some folders and I don't know if because he touch that folders or because there is a problem. Tomorrow I'll call him and I'll let you know.
Thanks a lot, Michele
Quoting Michele Petrazzo - Unipex <michele.petrazzo@unipex.it>:
[snip]
The IMAP4rev1 spec specifically allows for a mailbox to be subscribed
without existing. The list of subscribed mailboxes has nothing to do
with the list of existing mailboxes (in other words, the results from
LSUB are not a subset of the results from LIST).
michael
participants (4)
-
Gary Kline
-
Michael M. Slusarz
-
Michele Petrazzo - Unipex
-
Timo Sirainen