# 2.2.27 (c0f36b0): /etc/dovecot/dovecot.conf
# Pigeonhole version 0.4.16 (fed8554)
# OS: Linux 2.6.32-696.6.3.ics.x86_64 x86_64 Ideco ICS ext4
auth_debug = yes
auth_debug_passwords = yes
auth_mechanisms = plain login cram-md5
auth_verbose = yes
auth_verbose_passwords = yes
listen = 169.254.252.252
lmtp_rcpt_check_quota = yes
mail_debug = yes
mail_location = mdbox:/var/spool/mail/%u
mail_plugins = quota
maildir_very_dirty_syncs = yes
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 index ihave duplicate mime foreverypart extracttext
namespace {
  inbox = yes
  location = 
  mailbox Drafts {
    auto = subscribe
    special_use = \Drafts
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Spam {
    auto = subscribe
    autoexpunge = 1 days
    special_use = \Junk
  }
  mailbox Trash {
    auto = subscribe
    autoexpunge = 1 days
    special_use = \Trash
  }
  prefix = INBOX.
  separator = .
  type = public
}
passdb {
  args = /usr/bin/dovecot-firebird-auth-handler.sh
  driver = checkpassword
}
plugin {
  quota = maildir:"User quota"
  quota_exceeded_message = 552 5.2.2 Mailbox is full
  quota_rule = *:storage=10M
  quota_rule3 = INBOX.Trash:storage=+10%%
  sieve_default = /mnt/rw_disc/dovecot/sieve/default.sieve
  sieve_global = /mnt/rw_disc/dovecot/sieve/
}
quota_full_tempfail = yes
service auth {
  group = 
  user = 
}
service imap-login {
  inet_listener imap {
    address = 0.0.0.0
    port = 143
  }
  inet_listener imaps {
    port = 0
  }
}
service lmtp {
  unix_listener /var/spool/postfix/private/dovecot-lmtp {
    group = postfix
    mode = 0600
    user = postfix
  }
}
service pop3-login {
  inet_listener pop3 {
    address = 0.0.0.0
    port = 110
  }
  inet_listener pop3s {
    address = 0.0.0.0
    port = 995
  }
}
ssl_cert = </mnt/rw_disc/courier_certs/imapd_crt.pem
ssl_cipher_list = EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA384:EECDH+aRSA+SHA256:EECDH:+CAMELLIA256:+AES256:+CAMELLIA128:+AES128:+SSLv3:!aNULL:!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!DSS:!RC4:!SEED:!ECDSA:CAMELLIA256-SHA:AES256-SHA:CAMELLIA128-SHA:AES128-SHA
ssl_key =  # hidden, use -P to show it
ssl_prefer_server_ciphers = yes
ssl_protocols = !SSLv2 !SSLv3
userdb {
  args = uid=imap gid=mail
  driver = static
}
protocol lmtp {
  mail_plugins = quota sieve
  postmaster_address = postmaster
}
protocol lda {
  mail_plugins = quota sieve
}
protocol imap {
  mail_plugins = quota imap_quota
}
