# 2.1.12: /etc/dovecot/dovecot.conf
managesieve(root): Warning: sieve: ignored unknown extension 'spamtestpl' while configuring available extensions
# OS: Linux 3.1.6-gentoo x86_64 Gentoo Base System release 2.1 
auth_mechanisms = plain login
auth_verbose = yes
base_dir = /var/run/dovecot/
disable_plaintext_auth = no
hostname = eumus.edu.uy
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes
listen = *
log_path = /var/log/dovecot/dovecot.log
mail_location = maildir:~/.maildir
mail_plugins = quota
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 spamtest imapflags notify
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 Trash {
    special_use = \Trash
  }
  prefix = INBOX.
  separator = .
}
passdb {
  driver = shadow
}
plugin {
  autocreate = Sent
  autocreate2 = Drafts
  autocreate3 = Junk
  autocreate4 = Trash
  autosubscribe = Sent
  autosubscribe2 = Drafts
  autosubscribe3 = Junk
  autosubscribe4 = Trash
  quota = maildir:User quota
  quota_rule = *:storage=4G
  sieve = ~/.dovecot.sieve
  sieve_default = /etc/dovecot/sieve/move-spam.sieve
  sieve_dir = ~/sieve
  sieve_extensions = +notify +imapflags +spamtest +spamtestpl
  sieve_global_dir = /etc/dovecot/sieve
}
postmaster_address = postmaster@eumus.edu.uy
protocols = imap pop3 lmtp sieve
sendmail_path = /var/qmail/bin/sendmail
service imap-login {
  inet_listener imap {
    port = 143
  }
  inet_listener imaps {
    port = 993
    ssl = yes
  }
}
service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
  service_count = 1
  vsz_limit = 64 M
}
service pop3-login {
  inet_listener pop3 {
    port = 110
  }
  inet_listener pop3s {
    port = 995
    ssl = yes
  }
}
ssl_cert = </var/qmail/control/servercert.pem
ssl_key = </var/qmail/control/servercert.pem
userdb {
  driver = passwd
}
protocol lmtp {
  mail_plugins = quota sieve
}
protocol lda {
  mail_plugins = quota sieve quota autocreate
}
protocol imap {
  mail_plugins = quota imap_quota autocreate
}
protocol pop3 {
  mail_plugins = quota
}
