Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

/usr/local/etc/dovecot/dovecot.conf

From COCNM
Revision as of 02:19, 19 September 2013 by Bob (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
auth_debug = yes
auth_debug_passwords = yes
auth_master_user_separator = *
auth_verbose_passwords = plain
listen = 192.168.26.10
log_path = /dev/stderr
login_greeting = Computerisms IMAP server
mail_debug = yes
ssl = required
ssl_ca = /var/CA/computerisms.com/CA/Computerisms.Certificate.Authority
ssl_cert = <//var/CA/computerisms.com/mail.computerisms.com/mail.computerisms.com.pem
ssl_key = <//var/CA/computerisms.com/mail.computerisms.com/mail.computerisms.com.key
ssl_key_password = WeeMinion
verbose_proctitle = yes
verbose_ssl = yes
lda_mailbox_autocreate = yes
lda_mailbox_autosubscribe = yes

namespace inbox {
  inbox = yes
  location = 
  mailbox Drafts {
    special_use = \Drafts
  }
  mailbox Junk {
    special_use = \Junk
  }
  mailbox LearnAsSpam {
    auto = create
    special_use = \LearnAsSpam
  }
  mailbox Sent {
    auto = subscribe
    special_use = \Sent
  }
  mailbox Trash {
    special_use = \Trash
  }
  prefix = 
}

passdb {
  args = /usr/local/etc/dovecot/dovecot-ldap.conf.ext
  driver = ldap
}
passdb {
  args = /usr/local/etc/dovecot/dovecot-ldap.conf.master
  driver = ldap
  master = yes
}
userdb {
  args = uid=vmail gid=vmail home=/home/mail/%n
  driver = static
}

protocols = imap pop3 sieve
protocol imap {
  imap_id_log = *
}
protocol pop3 {
  pop3_logout_format = snt/rdv=%o/%i, top=%t/%p, retr=%r/%b, del=%d/%m, size=%s
}
protocol lda {
  mail_plugins = $mail_plugins sieve autocreate
  submission_host = 127.0.0.1:25
}
protocol sieve {
  managesieve_max_line_length = 65536
  mail_max_userip_connections = 10
  mail_plugins =
  managesieve_logout_format = bytes=%i/%o
  managesieve_implementation_string = Dovecot Pigeonhole
  managesieve_sieve_capability =
  managesieve_notify_capability =
  managesieve_max_compile_errors = 5
}

service imap-login {
  inet_listener imaps {
    address = 192.168.26.10
    port = 993
    ssl = yes
  }
  inet_listener imap {
    address = 127.0.0.1
    port = 143
    ssl = no
  }
  process_min_avail = 5
  service_count = 1
}
service pop3-login {
  inet_listener pop3s {
    address = 192.168.26.10
    port = 995
    ssl = yes
  }
  inet_listener pop3 {
    port = 0
  }
  process_min_avail = 1
  service_count = 1
}
service auth {
  unix_listener auth-userdb {
    mode = 0660
    user = dovecot
    group = vmail
  }
  client_limit=1024
}
service managesieve-login {
  inet_listener sieve {
    address = 127.0.0.1
    port = 4190
  }
  service_count = 1
  process_min_avail = 5
  vsz_limit = 64M
}

plugin {
  mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  mail_log_fields = uid box msgid size vsize from subject flags
}
plugin {
  sieve = ~/.dovecot.sieve
  sieve_extensions = +vacation +vacation-seconds
  sieve_default = /usr/local/lib/dovecot/default.sieve
  sieve_dir = ~/sieve
  #recipient_delimiter = +
  sieve_max_script_size = 10M
  sieve_max_actions = 92
  sieve_max_redirects = 24
  sieve_quota_max_scripts = 20
  sieve_quota_max_storage = 200000
}