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
Dokumentation lesen bezüglich Namespaces, da steht das genau drin.
Prinzipiell suchst du:
| namespace private {
| separator = /
| location = maildir:~/Mail/inbox:LAYOUT=fs
| }
Bastian
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?
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