# 2.2.9: /etc/dovecot/dovecot.conf # OS: Linux 3.13.0-34-generic x86_64 Ubuntu 14.04.1 LTS ext4 # THIS IS SERVER A CONFIGURATION auth_mechanisms = CRAM-MD5 PLAIN LOGIN dict { sqlquota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext } disable_plaintext_auth = no doveadm_password = nicepassword dsync_remote_cmd = ssh -l%{login} %{host} doveadm dsync-server -u%u first_valid_uid = 106 last_valid_uid = 106 mail_gid = Debian-exim mail_location = maildir:/var/mail/virtual/%d/%n mail_plugins = quota mail_uid = Debian-exim 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 ihave namespace inbox { inbox = yes location = mailbox Drafts { special_use = \Drafts } mailbox Junk { special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox "Sent Messages" { special_use = \Sent } mailbox Spam { auto = subscribe special_use = \Junk } mailbox Trash { special_use = \Trash } prefix = } passdb { args = /etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { mail_replica = tcp:serverB.example:12345 quota = maildir:User quota quota_exceeded_message = Quota exceeded, please go to http://site.example/over-quota-help for instructions on how to fix this. quota_grace = 10%% quota_rule2 = Trash:storage=+50M quota_rule3 = Sent:storage=+50M quota_set = dict:proxy::sqlquota quota_warning = storage=95%% quota-warning 95 %u quota_warning2 = storage=80%% quota-warning 80 %u sieve = ~/.dovecot.sieve sieve_before = /var/mail/sieve/spam.conf sieve_dir = ~/sieve } protocols = " imap lmtp sieve" service aggregator { fifo_listener replication-notify-fifo { group = Debian-exim user = Debian-exim } unix_listener replication-notify { group = Debian-exim user = Debian-exim } } service auth { unix_listener auth-client { group = Debian-exim mode = 0660 user = Debian-exim } unix_listener auth-userdb { group = Debian-exim mode = 0660 user = Debian-exim } } service doveadm { inet_listener { port = 12345 } } service managesieve-login { inet_listener sieve { port = 4190 } process_min_avail = 1 service_count = 1 vsz_limit = 64 M } service managesieve { process_limit = 10 } service quota-warning { executable = script /usr/local/bin/quota-warning.sh unix_listener quota-warning { mode = 0660 user = Debian-exim } } service replicator { process_min_avail = 1 unix_listener replicator-doveadm { group = Debian-exim mode = 0600 user = Debian-exim } } ssl_cert =