Skip to content

Instantly share code, notes, and snippets.

@basz
Created June 5, 2012 14:55
Show Gist options
  • Select an option

  • Save basz/2875483 to your computer and use it in GitHub Desktop.

Select an option

Save basz/2875483 to your computer and use it in GitHub Desktop.
root@s2:~# doveconf -n
# 2.0.19: /etc/dovecot/dovecot.conf
# OS: Linux 2.6.39.1-linode34 i686 Ubuntu 12.04 LTS
auth_mechanisms = plain login
disable_plaintext_auth = no
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_privileged_group = vmail
passdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
plugin {
quota = dict:user::file:/var/vmail/%d/%n/.quotausage
sieve = /var/vmail/%d/%n/.sieve
}
protocols = imap pop3
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
unix_listener auth-userdb {
group = vmail
mode = 0600
user = vmail
}
user = root
}
ssl_cert = </etc/postfix/smtpd.cert
ssl_key = </etc/postfix/smtpd.key
userdb {
args = /etc/dovecot/dovecot-sql.conf
driver = sql
}
protocol imap {
mail_plugins = quota imap_quota
}
protocol pop3 {
mail_plugins = quota
pop3_uidl_format = %08Xu%08Xv
}
protocol lda {
mail_plugins = sieve quota
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment