# 2.1.rc5: /opt/dovecot-2.1rc5/etc/dovecot/dovecot.conf
# OS: Linux 3.0.0-15-server x86_64 Ubuntu 11.10 
auth_mechanisms = scram-sha-1 digest-md5 cram-md5 login plain
auth_username_format = %Ln
auth_verbose = yes
first_valid_uid = 1000
last_valid_uid = 29999
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_access_groups = mail
mail_fsync = never
mail_plugins = acl zlib
mail_privileged_group = mail
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 {
  list = children
  location = mdbox:/home/dovecot/%%Ln
  prefix = shared/%%n/
  separator = /
  subscriptions = no
  type = shared
}
namespace inbox {
  inbox = yes
  location = mdbox:/home/dovecot/%Ln
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Sent {
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  mailbox spam {
    special_use = \Junk
  }
  prefix = 
  separator = /
  type = private
}
passdb {
  args = scheme=plain /etc/dovecot/passwd-db
  driver = passwd-file
}
plugin {
  acl = vfile
  acl_shared_dict = file:/home/dovecot/shared-mailboxes
  fts = squat
  sieve = ~/.dovecot.sieve
  sieve_after = /var/lib/dovecot/sieve/after.sieve
  sieve_default = /var/lib/dovecot/sieve/default.sieve
  sieve_dir = ~/.sieve
  zlib_save = gz
  zlib_save_level = 6
}
protocols = imap sieve
service auth {
  unix_listener /var/spool/postfix/private/auth {
    group = sasl
    mode = 0660
    user = postfix
  }
}
service imap-login {
  inet_listener imap {
    address = ::1, 127.0.0.1
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service managesieve-login {
  inet_listener sieve {
    address = ::1, 127.0.0.1
    port = 4190
  }
}
ssl_cert = </etc/ssl/startssl/startssl_class2_chain.crt
ssl_key = </etc/ssl/private/startssl_class2.key
userdb {
  args = blocking=no
  driver = passwd
}
protocol lmtp {
  mail_fsync = optimized
}
protocol lda {
  mail_fsync = optimized
  mail_plugins = acl zlib sieve
}
protocol imap {
  mail_plugins = acl zlib imap_acl fts fts_squat
}
