[Dovecot] dovecot.conf settings
Marc Perkel
marc at perkel.com
Sun Nov 14 16:35:10 EET 2010
On 11/12/2010 6:57 AM, Timo Sirainen wrote:
> On 12.11.2010, at 11.16, Marc Perkel wrote:
>
>> service imap-login {
>> process_limit = 800
>> process_min_avail = 100
>> service_count = 0
> With service_limit=0 the process limits are way way too high. process_min_avail should be the number of CPU cores you have. Also when your process_limit would be reached you'd have 800000 IMAP connections (process_limit * default_client_limit).
>
>> vsz_limit = 64 B
> This is 64 bytes .. Strange that it even works, remove it or change it.
>
>> service pop3-login {
>> process_limit = 800
>> process_min_avail = 40
>> service_count = 0
>> vsz_limit = 64 B
>> }
> Same for pop3-login.
>
>
OK - I'm not sure how they get set that way. I must have copied
something. Here is my new settings. Is there anything else to change or add?
# 2.0.7: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-dzhanibekov.1 x86_64 Fedora release 12 (Constantine)
simfs
auth_debug = yes
auth_master_user_separator = *
disable_plaintext_auth = no
dotlock_use_excl = yes
first_valid_uid = 12
info_log_path = /var/log/dovecot.log
log_path = /var/log/dovecot.log
login_greeting = Computer Tyme Dovecot ready.
mail_fsync = never
mail_gid = mail
mail_location = maildir:/vhome/%d/home/%n:INDEX=/imap-cache/%d-%n
mail_uid = mail
mmap_disable = yes
passdb {
args = /etc/dovecot/sql.conf
driver = sql
}
passdb {
args = /etc/dovecot/master-combined-sql.conf
driver = sql
master = yes
pass = yes
}
protocols = imap pop3
service anvil {
client_limit = 2000
}
service auth {
unix_listener auth-client {
mode = 0666
}
unix_listener auth-master {
mode = 0666
}
}
service imap-login {
process_limit = 800
process_min_avail = 10
service_count = 0
}
service imap {
process_limit = 400
}
service pop3-login {
process_limit = 800
process_min_avail = 10
service_count = 0
}
service pop3 {
process_limit = 400
}
ssl_cert = </usr/share/ssl/certs/imapd.pem
ssl_key = </usr/share/ssl/certs/imapd.pem
verbose_proctitle = yes
protocol pop3 {
pop3_uidl_format = %v.%u
}
More information about the dovecot
mailing list