Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

dovecot - falscher Separator

86 views
Skip to first unread message

Clemens Schueller

unread,
Jan 24, 2011, 5:06:19 PM1/24/11
to
Hallo!

Ich hab grad einen dovecot aufgesetzt und hab ein lästiges Problem mit
der Ordnerhierarchie im Maildir:

Config:

+----
| 247 namespace private {
| 248 # Hierarchy separator to use. You should use the same separator for all
| 249 # namespaces or some clients get confused. '/' is usually a good one.
| 250 # The default however depends on the underlying mail storage format.
| 251 separator = /
| 252
| 253 # Prefix required to access this namespace. This needs to be different for
| 254 # all namespaces. For example "Public/".
| 255 prefix =-
| 256
| 257 # Physical location of the mailbox. This is in same format as
| 258 # mail_location, which is also the default for it.
| 259 #location =
| 260
| 261 # There can be only one INBOX, and this setting defines which namespace
| 262 # has it.
| 263 inbox = yes
| 264
| 265 # If namespace is hidden, it's not advertised to clients via NAMESPACE
| 266 # extension. You'll most likely also want to set list=no. This is mostly
| 267 # useful when converting from another server with different namespaces which
| 268 # you want to deprecate but still keep working. For example you can create
| 269 # hidden namespaces with prefixes "~/mail/", "~%u/mail/" and "mail/".
| 270 #hidden = yes
| 271
| 272 # Show the mailboxes under this namespace with LIST command. This makes the
| 273 # namespace visible for clients that don't support NAMESPACE extension.
| 274 # "children" value lists child mailboxes, but hides the namespace prefix.
| 275 #list = yes
| 276
| 277 # Namespace handles its own subscriptions. If set to "no", the parent
| 278 # namespace handles them (empty prefix should always have this as "yes")
| 279 #subscriptions = yes
| 280 }
+----

Wie in Zeile 251 ersichtlich, hab ich / und NICHT . als Separator
definiert.

Dennoch schaut die Hierarchie so aus:


+----
| [mente@powerstation: ~/Maildir]% dir -a
| insgesamt 40
| drwx------ 6 mente mente 4096 2011-01-24 22:56 ./
| drwxr-xr-x 6 mente mente 4096 2011-01-24 22:56 ../
| drwx------ 2 mente mente 4096 2011-01-24 22:56 cur/
| -rw------- 1 mente mente 156 2011-01-24 22:56 dovecot.index.log
| -rw------- 1 mente mente 17 2011-01-24 22:56 dovecot-uidlist
| -rw------- 1 mente mente 8 2011-01-24 22:56 dovecot-uidvalidity
| -rw------- 1 mente mente 0 2011-01-24 22:56 dovecot-uidvalidity.4d3df58e
| drwx------ 5 mente mente 4096 2011-01-24 22:56 .INBOX.test/
| drwx------ 2 mente mente 4096 2011-01-24 22:56 new/
| -rw------- 1 mente mente 11 2011-01-24 22:56 subscriptions
| drwx------ 2 mente mente 4096 2011-01-24 22:56 tmp/
+----

Ich hätte aber gerne, dass der . vor dem INBOX weg ist und dass es
Unterordner in der Hierarchie gibt.

Wo müsste ich da ansetzen?

GreetinX & Danke


Clemens Schüller

Bastian Blank

unread,
Jan 25, 2011, 1:35:59 AM1/25/11
to
Clemens Schueller wrote:
> Ich hätte aber gerne, dass der . vor dem INBOX weg ist und dass es
> Unterordner in der Hierarchie gibt.

Dokumentation lesen bezüglich Namespaces, da steht das genau drin.

Prinzipiell suchst du:
| namespace private {
| separator = /
| location = maildir:~/Mail/inbox:LAYOUT=fs
| }

Bastian

Franz Georg Koehler

unread,
Jan 25, 2011, 3:43:15 PM1/25/11
to
Am 24.01.11 23:06, schrieb Clemens Schueller:

>
> Wie in Zeile 251 ersichtlich, hab ich / und NICHT . als Separator
> definiert.

Ja, allerdings für den NAMESPACE und nicht für das Dateisystem:

namespace private {


# Hierarchy separator to use. You should use the same separator for all

# namespaces or some clients get confused. '/' is usually a good one.

# The default however depends on the underlying mail storage format.

separator = /


> Wo müsste ich da ansetzen?

Kann man das überhaupt ändern?


Clemens Schueller

unread,
Feb 13, 2011, 4:04:12 PM2/13/11
to
Hallo!

Danke für diesen Hint - genauso wollte ich es haben.

Nur, hab ich jetzt ein kleines Problem mit procmail:

Wie müssen die Zeilen in der .procmailrc aussehen, damit die Mails
richtig einsortiert werden?

GreetinX, Clemens Schueller

0 new messages