Hi all I hope to get some help on the separator. I am sure that I hava a wrong understanding what the separator is. I thaught the separator is the delimiter within the imap folder structure. For example: Imap folder structure: folder Flights, subfolder Lufthansa If the delimiter is ?.? the ls ?a command should result: .Flights .Flights.Lufthansa If delimiter is ?/? Flights Flights/Lufthansa I tried several delimiters but only the ?.? Works. My dovecot.conf file: mail_location = maildir:/vmail/%d/%n namespace { type = private separator = / location = maildir:/vmail/%d/%n inbox = yes subscriptions = yes } I would appreciate any help Mit freundlichem Gru? Carsten Laun-De Lellis Dipl.-Ing. Elektrotechnik Certified Information Systems Auditor (CISA) Hauptstrasse 13 D-67705 Trippstadt Phone: +49 (6306) 992140 Mobile: +49 (151) 27530865 email: <mailto:carsten.laun-delellis at delellis.net> carsten.laun-delellis at delellis.net
On 04/12/2011 03:35 PM, Carsten Laun-De Lellis wrote:> Hi all > > > > I hope to get some help on the separator. I am sure that I hava a wrong > understanding what the separator is. > > > > I thaught the separator is the delimiter within the imap folder structure. > > > > For example: > > > > Imap folder structure: folder Flights, subfolder Lufthansa > > If the delimiter is ?.? the ls ?a command should result: > > .Flights .Flights.Lufthansa > > If delimiter is ?/? > > Flights Flights/Lufthansa > > > > I tried several delimiters but only the ?.? Works.As far as I know, the folder structure (ls -a) will always* show .Flights .Flights.Lufthansa It is in the IMAP commands that they use the delimiter ("/" in this case): 1 NAMESPACE * NAMESPACE (("" "/")) NIL NIL 1 OK Namespace completed. 2 SUBSCRIBE Flights/Lufthansa 2 OK Subscribe completed. Or, if you use "." as the delimiter: 1 NAMESPACE * NAMESPACE (("" ".")) NIL NIL 1 OK Namespace completed. 2 SUBSCRIBE Flights.Lufthansa 2 OK Subscribe completed. * there are some Dovecot configurations where you can change that by using layout=fs
On 12/04/2011 22:35, Carsten Laun-De Lellis wrote:> I hope to get some help on the separator. I am sure that I hava a wrong > understanding what the separator is. > > I thaught the separator is the delimiter within the imap folder structure.The 'separator' directive controls what appears in the IMAP layer only, and does not affect how Dovecot stores e-mail in the filesystem. If you want Dovecot to store Maildir folders in hierarchical directories, you should be able to do this by specifying relevant parameter in the mail location. See: http://wiki2.dovecot.org/MailLocation/Maildir#Directory_layout http://wiki2.dovecot.org/MailLocation/Maildir#Mailbox_directory_name Basically, read this page through: http://wiki2.dovecot.org/MailLocation/Maildir Bill