Since I have these performance problems after migration to 2.0.5 I'm publishing my config for review. Can anybody spot any obvious signs of trouble?
2.0.5: /usr/local/etc/dovecot.conf
OS: Linux 2.6.32-24-generic-pae i686 Debian squeeze/sid
auth_debug = yes auth_debug_passwords = yes auth_mechanisms = plain login disable_plaintext_auth = no auth_master_user_separator = *
mail_location = maildir:~/Maildir
wegen webmail!
mail_max_userip_connections = 1024
managesieve_notify_capability = mailto managesieve_sieve_capability = fileinto reject envelope encoded-character vacation subaddress comparator-i;ascii-numeric relational regex imap4flags copy include variables body enotify environment mailbox date
Namespace für courier-compatibilitaet
namespace { inbox = yes location = prefix = INBOX. separator = . type = private }
fuer user*masteruser logins
passdb { args = /usr/dovecot-2/etc/dovecot/dovecot.masteruser driver = passwd-file master = yes pass = yes }
Authorisierung via PAM, /etc/pam.d/dovecot
auth_cache_size = 64 M passdb { args = cache_key=%u driver = pam }
User via passwd
userdb { driver = passwd }
plugin Konfiguration
plugin {
mailboxen anlegen und subscriben
autocreate = Trash autocreate2 = spam autocreate3 = Sent autocreate4 = Drafts autosubscribe = Trash autosubscribe2 = spam autosubscribe3 = Sent autosubscribe4 = Drafts
FullTextSearch
fts = squat
Quota
quota = maildir quota_rule = INBOX.Trash:storage=+2048M quota_warning = storage=99%% quota-warning 99 %u quota_warning2 = storage=95%% quota-warning 95 %u quota_warning3 = storage=90%% quota-warning 90 %u quota_warning4 = storage=85%% quota-warning 85 %u
Sieve
sieve = ~/.dovecot.sieve sieve_dir = ~/sieve
Trash (wenn Mailbox voll, dann Trash und spam leeren)
trash = /usr/dovecot-2/etc/dovecot/dovecot-trash.conf }
Wir sprechen alles
protocols = imap sieve pop3
unix domain socket fuer Postfix
service auth { unix_listener /var/spool/postfix/private/auth { group = postfix mode = 0660 user = postfix } user = root }
imap-login Prozess
high performance mode
service imap-login { service_count = 0 }
der eigentliche IMAPD
service imap { drop_priv_before_exec = yes process_limit = 2048 }
managesieve-login, wird nur genutzt von webmail aus
service managesieve-login { service_count = 0 inet_listener sieve_deprecated { port = 2000 } }
der eigentliche managesieve
service managesieve { drop_priv_before_exec = yes process_limit = 128 }
pop3-login Prozess
high performance mode
service pop3-login { service_count = 0
kein pop3, nur pop3s!
inet_listener pop3 { port = 0 } }
der eigentliche pop3
service pop3 { drop_priv_before_exec = yes process_limit = 512 }
die ganzen SSL Zertifikate
ssl_ca = </etc/ssl/certs/ca-certificates.crt ssl_cert = </etc/ssl/certs/cert-188235905-postamt.charite.de-g02.pem ssl_key = </etc/ssl/private/postamt.key
schoene Ausgabe in ps auxwww
verbose_proctitle = yes version_ignore = yes
mail_fsync = never maildir_very_dirty_syncs = yes
globale settings, die anderen werden ja nach Protokoll individuell ergaenzt!
mail_plugins = notify mail_log
imap kann am meisten
protocol imap { mail_plugins = $mail_plugins quota imap_quota trash fts fts_squat autocreate }
pop3 hat workarounds
protocol pop3 { pop3_client_workarounds = outlook-no-nuls oe-ns-eoh pop3_lock_session = yes pop3_uidl_format = %v-%u }
LDA macht noch zusaetzlich sieve quota trash
protocol lda { mail_plugins = $mail_plugins sieve quota trash postmaster_address = postmaster@charite.de quota_full_tempfail = yes syslog_facility = local4 }
der schickt die Quota warnmails
service quota-warning { executable = script /usr/local/scripts/quota-warning2 user = root unix_listener quota-warning { mode = 0666 user = vmail group = users } }
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netzwerk Charité - Universitätsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | http://www.charite.de