Re: [Dovecot] irregular problem on outlook + imap

2009-12-10 Thread Michael M. Slusarz

Quoting Michele Petrazzo - Unipex :


* LSUB () "." " folder.with.dots and spaces and numbers"


[snip]


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


This means it doesn't really exist, even though it's subscribed.


Do you know when/why this can happen?


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



Re: [Dovecot] irregular problem on outlook + imap

2009-12-10 Thread Michele Petrazzo - Unipex

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!


* LSUB () "." " folder.with.dots and spaces and numbers"


This means it's in the subscriptions file.



Ok


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


This means it doesn't really exist, even though it's subscribed.



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


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?



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


Re: [Dovecot] irregular problem on outlook + imap

2009-12-09 Thread Gary Kline
On Wed, Dec 09, 2009 at 03:21:54PM -0500, Timo Sirainen wrote:
> On Wed, 2009-12-09 at 12:16 -0800, Gary Kline wrote:
> > A couple years ago, sendmail delivered my mail to
> > ~/Mail/ 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//*.  What do I change in the conf file to
> > get rid of the directory DOT prefixes?  
> 
> What do you mean by ? You mean different mailboxes?


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  kl...@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



Re: [Dovecot] irregular problem on outlook + imap

2009-12-09 Thread Timo Sirainen
On Wed, 2009-12-09 at 12:16 -0800, Gary Kline wrote:
>   A couple years ago, sendmail delivered my mail to
>   ~/Mail/ 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//*.  What do I change in the conf file to
>   get rid of the directory DOT prefixes?  

What do you mean by ? 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



signature.asc
Description: This is a digitally signed message part


Re: [Dovecot] irregular problem on outlook + imap

2009-12-09 Thread Gary Kline
On Wed, Dec 09, 2009 at 02:52:00PM -0500, Timo Sirainen wrote:
> On Tue, 2009-12-01 at 16:19 +0100, Michele Petrazzo - Unipex wrote:
> > * LSUB () "." " folder.with.dots and spaces and numbers"
> 

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/ 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//*.  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.


> This means it's in the subscriptions file.
> 
> > 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
> 
> 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.



-- 
 Gary Kline  kl...@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



Re: [Dovecot] irregular problem on outlook + imap

2009-12-09 Thread Timo Sirainen
On Tue, 2009-12-01 at 16:19 +0100, Michele Petrazzo - Unipex wrote:
> * LSUB () "." " folder.with.dots and spaces and numbers"

This means it's in the subscriptions file.

> 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

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.


signature.asc
Description: This is a digitally signed message part