Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 2.2.10: /etc/dovecot/dovecot.conf
- # OS: Linux 3.10.0-693.17.1.el7.x86_64 x86_64 CentOS Linux release 7.4.1708 (Core)
- auth_mechanisms = plain login
- base_dir = /var/run/dovecot/
- default_process_limit = 256
- doveadm_password = password
- dsync_remote_cmd = doveadm dsync-server -u%u
- first_valid_uid = 1000
- instance_name = mail02.domain.ru
- login_greeting = mail02.domain.ru ready.
- mail_gid = vmail
- mail_location = maildir:~/Maildir
- mail_plugins = " acl quota notify replication"
- mail_privileged_group = vmail
- mail_uid = vmail
- 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
- mbox_write_locks = fcntl
- namespace {
- list = children
- location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u
- prefix = shared/%%u/
- separator = /
- subscriptions = no
- type = shared
- }
- 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 =
- separator = /
- type = private
- }
- passdb {
- args = /etc/dovecot/dovecot-ldap-people.conf.ext
- driver = ldap
- }
- passdb {
- args = /etc/dovecot/dovecot-ldap-mailbox.conf.ext
- driver = ldap
- }
- plugin {
- acl = vfile:/etc/dovecot/global-acls:cache_secs=300
- acl_shared_dict = file:/var/vmail/db/dovecot/dict/shared-mailboxes
- mail_replica = tcp:mail01.domain.ru:12345
- quota_rule = *:storage=1G
- quota_rule2 = Trash:storage=+100M
- replication_full_sync_interval = 1 hours
- sieve = ~/.dovecot.sieve
- sieve_dir = ~/sieve
- }
- protocols = imap lmtp
- service aggregator {
- fifo_listener replication-notify-fifo {
- user = vmail
- }
- unix_listener replication-notify {
- user = vmail
- }
- }
- service auth {
- unix_listener /var/spool/postfix/private/auth {
- group = postfix
- mode = 0666
- user = postfix
- }
- unix_listener auth-userdb {
- group = vmail
- mode = 0666
- user = vmail
- }
- }
- service doveadm {
- inet_listener {
- address = 10.10.20.21
- port = 12345
- }
- }
- service imap-login {
- inet_listener imap {
- address = 127.0.0.1
- port = 143
- }
- inet_listener imaps {
- address = *
- port = 993
- ssl = yes
- }
- service_count = 0
- }
- service imap {
- process_limit = 1024
- }
- service lmtp {
- user = vmail
- }
- service replicator {
- process_min_avail = 1
- unix_listener replicator-doveadm {
- mode = 0600
- }
- }
- ssl = required
- ssl_cert = </etc/pki/dovecot/certs/domain.ru.pem
- ssl_key = </etc/pki/dovecot/private/domain.ru.key.pem
- userdb {
- args = /etc/dovecot/dovecot-ldap-people.conf.ext
- driver = ldap
- override_fields = uid=vmail gid=vmail home=/var/vmail/%Ld/%Ln
- }
- userdb {
- args = /etc/dovecot/dovecot-ldap-mailbox.conf.ext
- driver = ldap
- override_fields = uid=vmail gid=vmail home=/var/vmail/%Ld/%Ln
- }
- protocol lda {
- mail_plugins = " acl quota notify replication sieve"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement