Hi, I am really stuck here. I am trying to setup imap for an external mail server. I have a freebsd server running sendmail / dovecot. I am transfering the existing mail from an exchange 2003 server to the mailserver using imapsync. This works fine, but gives errors when it tries to make a submap, also thunderbird gives an error "Mailbox doesn't allow inferior mailboxes" when I try to make a submap. I found out that it has something to do with the mbox not able to have submaps and there should be a workaround using namespaces. I tried several setups but keep getting errors. Does anybody know how to configure namespaces to allow submaps? dovecot -n # 1.2.3: /usr/local/etc/dovecot.conf # OS: FreeBSD 6.4-STABLE i386 log_path: /var/log/dovecot.log protocols: imap imaps pop3 pop3s disable_plaintext_auth: no verbose_ssl: yes login_dir: /var/run/dovecot/login login_executable(default): /usr/local/libexec/dovecot/imap-login login_executable(imap): /usr/local/libexec/dovecot/imap-login login_executable(pop3): /usr/local/libexec/dovecot/pop3-login login_process_per_connection: no login_processes_count: 4 verbose_proctitle: yes first_valid_gid: 0 mail_access_groups: mail mail_location: mbox:~/mail:INBOX=/var/mail/%u mail_debug: yes mail_executable(default): /usr/local/libexec/dovecot/imap mail_executable(imap): /usr/local/libexec/dovecot/imap mail_executable(pop3): /usr/local/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/local/lib/dovecot/imap mail_plugin_dir(imap): /usr/local/lib/dovecot/imap mail_plugin_dir(pop3): /usr/local/lib/dovecot/pop3 imap_client_workarounds(default): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(imap): delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep imap_client_workarounds(pop3): pop3_client_workarounds(default): pop3_client_workarounds(imap): pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh namespace: type: private separator: / prefix: #mbox/ location: mbox:~/mail:INBOX=/var/mail/%u inbox: yes list: yes subscriptions: yes namespace: type: private separator: / location: maildir:~/mail list: yes subscriptions: yes lda: postmaster_address: postmaster at example.com sendmail_path: /usr/sbin/sendmail auth default: verbose: yes debug: yes debug_passwords: yes passdb: driver: pam userdb: driver: passwd mbox is in /var/mail/%u and home dir is in /home/mailusers/%u
On 8/20/2009, Roger Berger (dovecot at berger.nl) wrote:> I found out that it has something to do with the mbox not able to > have submaps and there should be a workaround using namespaces. I > tried several setups but keep getting errors. Does anybody know how > to configure namespaces to allow submaps?Assuming you mean subFOLDERS, my recommendation is to convert to maildir at the same time. -- Best regards, Charles
Yes, But how do I do that and does that inflict all users on the server (only a part of the users use imap). there are about 200 pop users on the mail server and only 50 of them need imap. Thanks, Roger Charles Marcus wrote ..> On 8/20/2009, Roger Berger (dovecot at berger.nl) wrote: > > I found out that it has something to do with the mbox not able to > > have submaps and there should be a workaround using namespaces. I > > tried several setups but keep getting errors. Does anybody know how > > to configure namespaces to allow submaps? > > Assuming you mean subFOLDERS, my recommendation is to convert to maildir > at the same time. > > -- > > Best regards, > > Charles