Contact us


site login

SQL Based Virtual Setup With Dovecot

1. Setup Dovecot with the following config snippet...

# Server login banner
login_greeting = Server ready.

# Protocols we want to serve
protocols = imap pop3

# If you're using NFS or FUSE

# High performance mode, allow more than one connection to be handled per process
# Processes to keep waiting for new connections
# Maximum number of processes
# Maximum number of connections per process

# Disable fsync to increase speed

# Don't kill clients if we restart

# Use the quota and imap_quota and add the workarounds to make other mua's happy
protocol imap {
mail_plugins = quota imap_quota
imap_client_workarounds = outlook-idle delay-newmail

# Use quotas and workarounds
protocol pop3 {
mail_plugins = quota
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh

# Local delivery agent, add quota support aswell
protocol lda {
# Don't disable fsync for lda, this must succeed
postmaster_address =
mail_plugins = quota
log_path = /var/log/dovecot-deliver.log
info_log_path = /var/log/dovecot-deliver.log

# Authentication configuration
auth default {
mechanisms = plain login cram-md5 digest-md5

# Master users which can login to any mailbox
passdb sql {
args = /etc/dovecot/sql-master.conf
master = yes
pass = yes

# Password query for users
passdb sql {
# You can use the %Ls variable which expands to imap or pop3 in