[Dovecot] Any secret dovecot 2.0 lda configuration documentation anywhere? =)
Brandon Lamb
brandonlamb at gmail.com
Thu Apr 15 04:51:23 EEST 2010
I successfully got imap/pop3 working using 2.0b4, now im trying to
also get lda working with exim but im totally confused. I dont know
what should run as what user, getting confused on auth sockets, what
to call them or set or whatever.
My exim runs as user/group mail/mail, dovecot has user dovecot but
user mail for mail_user/group settings.
At one point running deliver -d user -f user gave me an error userdb
lookup not possible with only userdb prefetch.
Here is my config at this particular point in time, probably will be
hacked up again in a few seconds =P
# 2.0.beta4: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.32-3-amd64 x86_64 Debian squeeze/sid
auth_cache_negative_ttl = 3600 s
auth_cache_size = 4096
auth_debug = yes
auth_debug_passwords = yes
auth_default_realm = olypen.com
auth_mechanisms = plain login
auth_socket_path = /var/run/dovecot/auth-userdb
auth_username_format = %Lu
auth_worker_max_count = 60
base_dir = /var/run/dovecot
debug_log_path = /var/log/dovecot/debug.log
default_vsz_limit = 536870912
deliver_log_format = %s from %f %$
disable_plaintext_auth = no
dotlock_use_excl = yes
first_valid_gid = 8
first_valid_uid = 8
fsync_disable = yes
info_log_path = /var/log/dovecot/info.log
last_valid_gid = 8
last_valid_uid = 8
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
log_path = /var/log/dovecot/dovecot.log
log_timestamp = %Y-%m-%d %H:%M:%S
login_log_format = %s
login_log_format_elements = (%u) (%r)
mail_access_groups = mail
mail_debug = yes
mail_gid = 8
mail_location = maildir:~/:INDEX=~/dovecot-index
mail_log_prefix = %Ls <%u>:
mail_plugins = quota
mail_privileged_group = mail
mail_uid = 8
mailbox_idle_check_interval = 60 s
namespace {
hidden = yes
inbox = yes
list = yes
location = maildir:%h/:INDEX=~/dovecot-index
prefix =
separator = /
type = private
}
namespace {
hidden = yes
list = no
location = virtual:/etc/dovecot/virtual:INDEX=~/dovecot-index
prefix = virtual/
separator = /
type = private
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
autocreate = Trash
autocreate2 = Spam
autocreate3 = Sent
autocreate4 = Drafts
quota = maildir
quota_rule2 = Trash:ignore
quota_rule3 = Deleted Items:ignore
quota_rule4 = Spam:ignore
quota_warning = storage=95%% /etc/dovecot/quota-warning.sh 95
quota_warning2 = storage=80%% /etc/dovecot/quota-warning.sh 80
}
postmaster_address = postmaster at olypen.com
protocols = imap pop3
quota_full_tempfail = yes
rejection_reason = Your message to <%t> with subject of <%s> was
automatically rejected:%n%r
rejection_subject = Mailbox Full: %s
sendmail_path = /usr/sbin/exim
service auth {
unix_listener /var/spool/exim/auth-userdb {
group = mail
mode = 0666
user =
}
}
service imap-login {
inet_listener imap {
port = 143
}
process_min_avail = 5
service_count = 0
vsz_limit = 134217728
}
service imap {
process_limit = 1024
vsz_limit = 1073741824
}
service pop3-login {
inet_listener pop3 {
port = 110
}
process_min_avail = 5
service_count = 0
vsz_limit = 134217728
}
service pop3 {
process_limit = 1024
vsz_limit = 1073741824
}
ssl = no
userdb {
driver = prefetch
}
valid_chroot_dirs = /mail
verbose_proctitle = yes
protocol pop3 {
mail_max_userip_connections = 1
mail_plugins = $mail_plugins virtual
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
pop3_enable_last = no
pop3_lock_session = no
pop3_logout_format = retr=%r/%b, del=%d/%m, size=%s
pop3_no_flag_updates = yes
pop3_reuse_xuidl = no
pop3_save_uidl = yes
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
auth_socket_path = auth-master
info_log_path = /var/log/dovecot/deliver.log
log_path = /var/log/dovecot/deliver.log
mail_plugins = quota
}
protocol imap {
imap_client_workarounds = delay-newmail netscape-eoh tb-extra-mailbox-sep
imap_idle_notify_interval = 120 s
imap_logout_format = bytes=%i/%o
imap_max_line_length = 65536
mail_max_userip_connections = 15
mail_plugins = $mail_plugins imap_quota autocreate virtual
}
More information about the dovecot
mailing list