[Dovecot] POP3/IMAP newbie question
Scott Silva
ssilva at sgvwater.com
Wed Oct 24 00:56:09 EEST 2007
on 10/23/2007 2:39 PM Lars Stavholm spake the following:
> 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
>
>
It doesn't make a lot of sense to do it, but with your setting of
mail_full_filesystem_access: yes you need to set the proper base directory in
the pop3 mua. Also, when the pop client clears the inbox, it will be cleared
for the imap login also.
--
MailScanner is like deodorant...
You hope everybody uses it, and
you notice quickly if they don't!!!!
More information about the dovecot
mailing list