[Dovecot] POP3/IMAP newbie question

Lars Stavholm stava at telcotec.se
Wed Oct 24 00:39:45 EEST 2007


Is it possible to serve both POP3 and IMAP for the same
user from the same mailbox format, e.g. the maildir format?

If so, how should I configure in dovecot.conf?

At the moment I have (dovecot -n):
# 1.1.beta2: /etc/dovecot/dovecot.conf
base_dir: /var/run/dovecot/
protocols: imap imaps pop3 pop3s
ssl_disable: yes
disable_plaintext_auth: no
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_extra_groups: mail
mail_location: maildir:~/Mail
mail_full_filesystem_access: yes
dotlock_use_excl: yes
mail_executable(default): /usr/lib/dovecot/imap
mail_executable(imap): /usr/lib/dovecot/imap
mail_executable(pop3): /usr/lib/dovecot/pop3
mail_plugins(default): quota trash dspam expire autocreate
mail_plugins(imap): quota trash dspam expire autocreate
mail_plugins(pop3): quota expire
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
imap_client_workarounds(default): delay-newmail outlook-idle
imap_client_workarounds(imap): delay-newmail outlook-idle
imap_client_workarounds(pop3):
pop3_client_workarounds(default):
pop3_client_workarounds(imap):
pop3_client_workarounds(pop3): outlook-no-nuls oe-ns-eoh
auth default:
  mechanisms: plain login gssapi
  username_format: %n
  passdb:
    driver: pam
    args: blocking=yes dovecot
  userdb:
    driver: passwd
    args: blocking=yes
  socket:
    type: listen
    master:
      path: /var/run/dovecot/auth-master
      mode: 384
plugin:
  quota: fs:storage=102400
  trash: /etc/dovecot/trash.conf
  sieve: ~/.dovecot.sieve
  dspam: /usr/sbin/dspam:Spam:nosignature:Trash:users
  autocreate: Spam

I.e., I use the same mail_location for both POP3 and IMAP.
However, mails are delivered to ~/Mail/inbox and seems to
be invisible to both my IMAP and POP3 client (Thunderbird).

Any input appreciated
/Lars



More information about the dovecot mailing list