[Dovecot] dovecot with IMAP and POP3 mixed

Andreas Meyer anmeyer at anup.de
Sat Mar 21 17:16:23 EET 2009


Hello!

I tried to setup dovecot to work with IMAP and POP3 but when I connect
with Squirrelmail, I get an error saying CREATE "INBOX.Sent"
reason: Mailbox doesn't allow inferior mailboxes

# dovecot --version
1.0.5

# dovecot -n
# 1.0.5: /etc/dovecot/dovecot.conf
log_path: /var/log/dovecot
protocols: imap imaps pop3
ssl_disable: yes
login_dir: /var/run/dovecot/login
login_executable(default): /usr/lib/dovecot/imap-login
login_executable(imap): /usr/lib/dovecot/imap-login
login_executable(pop3): /usr/lib/dovecot/pop3-login
mail_location: maildir:/var/spool/vhosts/%d/%n
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugin_dir(default): /usr/lib/dovecot/modules/imap
mail_plugin_dir(imap): /usr/lib/dovecot/modules/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/modules/pop3
pop3_uidl_format(default):
pop3_uidl_format(imap):
pop3_uidl_format(pop3): %08Xu%08Xv
auth default:
  passdb:
    driver: passwd-file
    args: /etc/dovecot/passwd
  userdb:
    driver: passwd-file
    args: /etc/dovecot/passwd

and /etc/dovecot/passwd looks like this:

anmeyer at anup.de:{PLAIN}password:5000:5000::/var/spool/vhosts/anup.de/anmeyer::userdb_mail=maildir:~/
user7 at anup.de:{PLAIN}password7:5000:5000::/var/spool/vhosts/anup.de/user7::userdb_mail=mbox:~/:INBOX=/var/spool/vhosts/anup.de/%u

The mbox of user7 already exists. Can someone help to get both variants working
so that dovecot can handle IMAP and POP3 accounts?

Kind regards
-- 
   Andreas Meyer

A man, a miss, a car -- a curve,
He kissed the miss and missed the curve -- Burma Shave (1948)

Mein öffentlicher GPG-Schlüssel unter:
http://gpg-keyserver.de/pks/lookup?search=anmeyer&fingerprint=on&op=index


More information about the dovecot mailing list