SHARE
TWEET

doveconf -n

mmerlone Nov 1st, 2019 146 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf
  2. # Pigeonhole version 0.4.21 (92477967)
  3. # OS: Linux 4.15.0-65-generic x86_64 Ubuntu 18.04.3 LTS ext4
  4. auth_debug = yes
  5. auth_gssapi_hostname = $ALL
  6. auth_krb5_keytab = /etc/dovecot/dovecot.keytab
  7. auth_master_user_separator = *
  8. auth_mechanisms = plain ntlm login gssapi
  9. auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.@*
  10. dict {
  11.   acl = mysql:/etc/dovecot/acl-dict-sql.conf
  12. }
  13. disable_plaintext_auth = no
  14. dotlock_use_excl = no
  15. hostname = smtp.example.net
  16. imap_client_workarounds = tb-extra-mailbox-sep delay-newmail
  17. last_valid_uid = 69999
  18. lda_mailbox_autocreate = yes
  19. lda_mailbox_autosubscribe = yes
  20. lda_original_recipient_header = X-Original-To
  21. listen = 10.9.8.8
  22. mail_access_groups = vmail dovecot
  23. mail_fsync = always
  24. mail_gid = 1000
  25. mail_location = maildir:/mnt/maildirs/%u/Maildir:INDEX=/mnt/maildirs/%u/index
  26. mail_plugins = acl
  27. mail_privileged_group = vmail
  28. mail_server_admin = mailto:postmaster@example.net
  29. mail_uid = 1000
  30. mailbox_list_index = yes
  31. mailbox_list_index_very_dirty_syncs = yes
  32. managesieve_notify_capability = mailto
  33. 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
  34. mmap_disable = yes
  35. namespace inbox {
  36.   hidden = no
  37.   inbox = yes
  38.   list = yes
  39.   location =
  40.   mailbox Drafts {
  41.     auto = subscribe
  42.     special_use = \Drafts
  43.   }
  44.   mailbox Junk {
  45.     auto = subscribe
  46.     special_use = \Junk
  47.   }
  48.   mailbox Sent {
  49.     auto = subscribe
  50.     special_use = \Sent
  51.   }
  52.   mailbox Trash {
  53.     auto = subscribe
  54.     special_use = \Trash
  55.   }
  56.   prefix =
  57.   separator = /
  58.   subscriptions = yes
  59.   type = private
  60. }
  61. passdb {
  62.   args = /etc/dovecot/master-users
  63.   driver = passwd-file
  64.   master = yes
  65.   result_success = continue
  66. }
  67. passdb {
  68.   args = /etc/dovecot/dovecot-ldap.conf.ext
  69.   driver = ldap
  70. }
  71. plugin {
  72.   acl = vfile:/etc/dovecot/global-acls:cache_secs=300
  73.   acl_shared_dict = proxy::acl
  74.   listescape_char = \
  75.   mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  76.   mail_log_fields = uid box msgid size
  77.   quota = maildir:User quota
  78.   quota_grace = 10%%
  79.   quota_rule = *:storage=100G
  80.   quota_rule2 = Trash:storage=+500M
  81.   quota_rule3 = SPAM:ignore
  82.   sieve = file:~/Maildir/sieve/;active=~/.dovecot.sieve
  83.   sieve_before = /etc/dovecot/global.sieve
  84.   sieve_max_actions = 32
  85.   sieve_max_redirects = 4
  86. }
  87. postmaster_address = postmaster@example.net
  88. protocols = " imap lmtp sieve sieve"
  89. quota_full_tempfail = yes
  90. service auth-worker {
  91.   user = $default_internal_user
  92. }
  93. service auth {
  94.   unix_listener /var/spool/postfix/private/auth {
  95.     group = postfix
  96.     mode = 0666
  97.     user = postfix
  98.   }
  99.   unix_listener auth-userdb {
  100.     mode = 0777
  101.   }
  102. }
  103. service dict {
  104.   unix_listener dict {
  105.     group = vmail
  106.     mode = 0660
  107.     user = vmail
  108.   }
  109. }
  110. service imap-login {
  111.   inet_listener imap {
  112.     port = 143
  113.   }
  114.   inet_listener imaps {
  115.     port = 993
  116.     ssl = yes
  117.   }
  118.   process_min_avail = 1
  119.   service_count = 0
  120. }
  121. service imap {
  122.   process_limit = 1024
  123. }
  124. service lmtp {
  125.   unix_listener /var/spool/postfix/private/dovecot-lmtp {
  126.     group = postfix
  127.     mode = 0600
  128.     user = postfix
  129.   }
  130.   unix_listener lmtp {
  131.     mode = 0666
  132.   }
  133. }
  134. service managesieve-login {
  135.   inet_listener sieve {
  136.     port = 4190
  137.   }
  138.   process_min_avail = 1
  139.   service_count = 0
  140. }
  141. service managesieve {
  142.   process_limit = 1024
  143. }
  144. ssl_cert = </etc/letsencrypt/live/imap.example.net/fullchain.pem
  145. ssl_cipher_list = ALL:!LOW:!SSLv2:!EXP:!aNULL:!RC4::!eNULL:!LOW:!3DES:!MD5:!EXP:!PSK:!SRP:!DSS
  146. ssl_client_ca_dir = /etc/ssl/certs
  147. ssl_key =  # hidden, use -P to show it
  148. submission_host = localhost
  149. userdb {
  150.   args = uid=1000 gid=1000 home=/mnt/maildirs/%Lu mail=maildir:/mnt/maildirs/%Lu/Maildir:INBOX=/mnt/maildirs/%Lu/Maildir allow_all_users=yes
  151.   driver = static
  152. }
  153. protocol lmtp {
  154.   info_log_path = /var/log/dovecot-lmtp.log
  155.   mail_plugins = acl
  156. }
  157. protocol lda {
  158.   mail_plugins = acl quota sieve acl listescape
  159. }
  160. protocol imap {
  161.   mail_max_userip_connections = 300
  162.   mail_plugins = acl quota imap_quota acl imap_acl listescape
  163. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top