Hi,
We?re using dovecot 1.0.7, which seems to be the latest version available on
CentOS 5.
Downloading emails are dead slow. Really small emails goes quickly, but normal
emails and emails with attachments are so slow to download it?s almost
ridiculous. I?ve googled some and found that it could be related to quota, but I
disabled the quota plugins on imap with no difference.
dovecot -n:
# 1.0.7: /etc/dovecot.conf
ssl_cert_file: /etc/dovecot/cert.pem
ssl_key_file: /etc/dovecot/key.pem
disable_plaintext_auth: yes
verbose_ssl: yes
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
valid_chroot_dirs: /var/mail/domains
verbose_proctitle: yes
last_valid_uid: 500
mail_location: maildir:/var/mail/domains/%d/%n/mail
mail_executable(default): /usr/libexec/dovecot/imap
mail_executable(imap): /usr/libexec/dovecot/imap
mail_executable(pop3): /usr/libexec/dovecot/pop3
mail_plugins(default):
mail_plugins(imap):
mail_plugins(pop3): quota
mail_plugin_dir(default): /usr/lib/dovecot/imap
mail_plugin_dir(imap): /usr/lib/dovecot/imap
mail_plugin_dir(pop3): /usr/lib/dovecot/pop3
auth default:
mechanisms: plain login
passdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
userdb:
driver: ldap
args: /etc/dovecot/dovecot-ldap.conf
socket:
type: listen
client:
path: /var/spool/postfix/private/auth
mode: 384
user: postfix
group: postfix
master:
path: /var/run/dovecot/auth-master
mode: 384
user: vmail
group: mail
plugin:
convert_mail: maildir:/var/mail/domains/%d/%u/mail
dovecot-ldap.conf:
auth_bind = yes
hosts = example.com
ldap_version = 3
base = o=hosting,dc=example,dc=com
dn = cn=phamm,o=hosting,dc=example,dc=com
dnpass = password
pass_attrs = mail
pass_filter =
(&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
user_attrs = mail,,,mail,,,quota=quota=maildir:storage
user_filter =
(&(objectClass=VirtualMailAccount)(accountActive=TRUE)(mail=%u))
deref = never
scope = subtree
default_pass_scheme = MD5
user_global_uid = 500
user_global_gid = 12