Daniel L. Miller
2010-Oct-28 14:35 UTC
[Dovecot] dsync, separator, but really - Default Namespace
Just made the leap from 1.2 to 2.0.6 - and several maddening config typos I think I have a working system again! Getting closer to converting from maildir to mdbox, but first... Trying to use dsync gives me: dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify separator for the default namespace) Ok - I 've never configured namespaces before...time to learn. So my first attempt - is the following config the same as having no explicit namespace declaration?: # My Default Namespace namespace { type = private separator = '.' prefix =. location = /var/mail/%d/%n/Maildir inbox = yes hidden = no list = yes subscriptions = yes } -- Daniel
Joseba Torre
2010-Oct-28 14:43 UTC
[Dovecot] dsync, separator, but really - Default Namespace
On Jueves 28 Octubre 2010 16:35:48 Daniel L. Miller escribi?:> Ok - I 've never configured namespaces before...time to learn. So my > first attempt - is the following config the same as having no explicit > namespace declaration?: > > # My Default Namespace > namespace { > type = private > separator = '.' > prefix =. > location = /var/mail/%d/%n/Maildir > inbox = yes > hidden = no > list = yes > subscriptions = yes > }I've just run into the same situation 1 hour ago! My namespace declaration is namespace { type = private separator = '/' inbox = yes } (the default value for location is mail_location) and dsync is working fine (it's slow, but it's working). HTH -- Joseba Torre. Vicegerencia de TICs, ?rea de Explotaci?n
Tobias Daucher
2010-Oct-29 06:03 UTC
[Dovecot] dsync, separator, but really - Default Namespace
Am 28.10.2010 16:35, schrieb Daniel L. Miller:> Just made the leap from 1.2 to 2.0.6 - and several maddening config typos I think I have a working > system again! Getting closer to converting from maildir to mdbox, but first... > > Trying to use dsync gives me: > dsync(root): Fatal: Mail locations must use the same virtual mailbox hierarchy separator (specify > separator for the default namespace) > > Ok - I 've never configured namespaces before...time to learn. So my first attempt - is the > following config the same as having no explicit namespace declaration?: > > # My Default Namespace > namespace { > type = private > separator = '.' > prefix =. > location = /var/mail/%d/%n/Maildir > inbox = yes > hidden = no > list = yes > subscriptions = yes > } >the first thing i see is that there must not be quotes around the separator, don't know who dovecot is working with the quotes... the locatin needs a prefix about the format so anything like maildir:/var/mail/%d/%n/Maildir -- Dr. Nagler & Company GmbH Hauptstra?e 9 92253 Schnaittenbach Tel : 09622-7197-38 Fax : 09622-7197-50 Web : http://www.nagler-company.com E-Mail : tobias.daucher at nagler-company.com Hauptsitz: Schnaittenbach Handelregister: Amberg HRB 4653 Gerichtsstand: Amberg Steuernummer: 201/118/51825 USt.-ID-Nummer: DE 273143997 Gesch?ftsf?hrer: Dr. Martin Nagler, Dr. Dr. Karl-Kuno Kunze