Hello,
i tried to implement a mixed structure of mbox for spams and spam 
backscatters and maildir for the rest at dovecot 1.0.13.
I used the information at the dovecot wiki:
http://wiki.dovecot.org/Namespaces (Multiple Mailbox Locations)
But if i try this (complete config is attached with this part)
namespace:
  type: private
  separator: /
  prefix: "#md/"
  location: maildir:/srv/imapd/user/%u/maildir
  inbox: yes
  hidden: yes
namespace:
  type: private
  separator: /
  location: mbox:/srv/imapd/user/%u/Spam
thunderbird can't open a maildir folder:-( The msg is " Mailbox
doesn't
exist: XXXX"
If i use this version:
namespace:
  type: private
  separator: /
  location: maildir:/srv/imapd/user/%u/maildir
  inbox: yes
namespace:
  type: private
  separator: /
  prefix: "#mb/"
  location: mbox:/srv/imapd/user/%u/Spam
  hidden: yes
Thunderbird can open maildir folder but no mbox folder.. " Mailbox 
doesn't exist: XXXX" :-(
Where is my fault? Or is this feature first complete implemented at 1.1?
I configured namespaces without hidden like a charme... with hidden i 
run against a wall :-(
Other question... has anybody a script to delete messages older then XY 
days in a mbox file?
Here is my complete config with the first config version:
[root at kronos etc]# dovecot -n
# 1.0.13: /etc/dovecot.conf
ssl_cert_file: /etc/pki/tls/certs/xyz.cert
ssl_key_file: /etc/pki/tls/private/xyz.key
login_dir: /var/run/dovecot/login
login_executable(default): /usr/libexec/dovecot/imap-login
login_executable(imap): /usr/libexec/dovecot/imap-login
login_executable(pop3): /usr/libexec/dovecot/pop3-login
login_process_size: 32
mail_access_groups: email
dotlock_use_excl: yes
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugins: zlib
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
imap_client_workarounds(default): outlook-idle tb-extra-mailbox-sep
imap_client_workarounds(imap): outlook-idle tb-extra-mailbox-sep
imap_client_workarounds(pop3): outlook-idle
namespace:
  type: private
  separator: /
  prefix: #md/
  location: maildir:/srv/imapd/user/%u/maildir
  inbox: yes
  hidden: yes
namespace:
  type: private
  separator: /
  location: mbox:/srv/imapd/user/%u/Spam
namespace:
  type: public
  separator: /
  prefix: Public/
  location:  
maildir:/srv/imapd/shared/public/maildir:CONTROL=/srv/imapd/user/%u/shared-settings/public/control:INDEX=/srv/imapd/user/%u/shared-settings/public/index
namespace:
  type: public
  separator: /
  prefix: Archiv/
  location: 
mbox:/srv/imapd/shared/archiv/maildir:CONTROL=/srv/imapd/user/%u/shared-settings/archiv/control:INDEX=/srv/imapd/user/%u/shared-settings/archiv/index
auth default:
  passdb:
    driver: ldap
    args: /etc/dovecot-ldap.conf
  userdb:
    driver: static
    args: uid=600 gid=600
Stefan
On Wed, 2008-05-07 at 22:13 +0200, Stefan Klatt wrote:> namespace: > type: private > separator: / > location: mbox:/srv/imapd/user/%u/SpamI guess the Spam is a mbox file? You can't create a location to point only to a single mailbox. Rather you might want to use something like: namespace private { prefix = mbox/ location = mbox:/srv/imapd/user/%u } Then you'll have mbox/Spam, and whatever other mbox files exist in that directory. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080515/84705934/attachment-0002.bin>
Hi Timo,> On Wed, 2008-05-07 at 22:13 +0200, Stefan Klatt wrote: >> namespace: >> type: private >> separator: / >> location: mbox:/srv/imapd/user/%u/Spam > > I guess the Spam is a mbox file? You can't create a location to point > only to a single mailbox. Rather you might want to use something like:under ../Spam i want to have the mbox files for spam and spam backscatters.> namespace private { > prefix = mbox/ > location = mbox:/srv/imapd/user/%u > } > > Then you'll have mbox/Spam, and whatever other mbox files exist in that > directory.I tried all, but nothing worked. Stefan