SHARE
TWEET

Untitled

a guest Oct 10th, 2019 8 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. auth_cache_negative_ttl = 2 mins
  2. auth_cache_size = 100 M
  3. auth_cache_ttl = 2 mins
  4. auth_default_realm = test.uni-duesseldorf.de
  5. auth_master_user_separator = *
  6. auth_mechanisms = plain login
  7. default_vsz_limit = 1 G
  8. disable_plaintext_auth = no
  9. first_valid_uid = 2
  10. mail_fsync = always
  11. mail_home = /var/spool/mail/%d/%1n/%n
  12. mail_location = mdbox:/var/spool/mail/%d/%1n/%n
  13. mail_plugins = quota
  14. mail_privileged_group = mail
  15. managesieve_notify_capability = mailto
  16. 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 editheader imapflags notify imapsieve vnd.dovecot.imapsieve
  17. mbox_write_locks = fcntl
  18. mmap_disable = yes
  19. namespace {
  20.   list = children
  21.   location = mdbox:/var/spool/mail/%%d/%%1n/%%n
  22.   prefix = shared/%%u/
  23.   separator = /
  24.   subscriptions = no
  25.   type = shared
  26. }
  27. namespace inbox {
  28.   inbox = yes
  29.   location =
  30.   mailbox Drafts {
  31.     special_use = \Drafts
  32.   }
  33.   mailbox Junk {
  34.     auto = subscribe
  35.     autoexpunge = 4 weeks
  36.     special_use = \Junk
  37.   }
  38.   mailbox Sent {
  39.     special_use = \Sent
  40.   }
  41.   mailbox "Sent Messages" {
  42.     special_use = \Sent
  43.   }
  44.   mailbox Trash {
  45.     special_use = \Trash
  46.   }
  47.   prefix =
  48.   separator = /
  49.   type = private
  50. }
  51. passdb {
  52.   args = /etc/dovecot/master-users
  53.   driver = passwd-file
  54.   master = yes
  55. }
  56. passdb {
  57.   args = /etc/dovecot/dovecot-ldap.conf.ext
  58.   driver = ldap
  59. }
  60. plugin {
  61.   imapsieve_mailbox1_before = file:/etc/dovecot/sieve/report-spam.sieve
  62.   imapsieve_mailbox1_causes = COPY
  63.   imapsieve_mailbox1_name = Junk
  64.   imapsieve_mailbox2_before = file:/etc/dovecot/sieve/report-ham.sieve
  65.   imapsieve_mailbox2_causes = COPY
  66.   imapsieve_mailbox2_from = Junk
  67.   imapsieve_mailbox2_name = *
  68.   quota = dict:User quota::file:/var/spool/mail/%d/%1n/%n/dovecot-quota
  69.   quota_grace = 10%%
  70.   quota_rule = *:storage=512M
  71.   quota_warning = storage=95%% quota-warning 95 %u
  72.   quota_warning2 = storage=80%% quota-warning 80 %u
  73.   sieve = file:/var/spool/mail/%d/%1n/%n/sieve/scripts/;active=/var/spool/mail/%d/%1n/%n/sieve/active-script.sieve
  74.   sieve_after = /etc/dovecot/sieve/99-sieve_after-spam.sieve
  75.   sieve_before = /etc/dovecot/sieve/98-dedup.sieve
  76.   sieve_extensions = +notify +imapflags +editheader
  77.   sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
  78.   sieve_max_redirects = 25
  79.   sieve_pipe_bin_dir = /usr/local/bin
  80.   sieve_plugins = sieve_imapsieve sieve_extprograms
  81.   sieve_redirect_envelope_from = orig_recipient
  82. }
  83. protocols = imap lmtp sieve
  84. service anvil {
  85.   client_limit = 12000
  86. }
  87. service auth {
  88.   client_limit = 12000
  89.   inet_listener {
  90.     port = 12345
  91.   }
  92. }
  93. service doveadm {
  94.   inet_listener {
  95.     port = 24245
  96.   }
  97. }
  98. service imap-login {
  99.   inet_listener imap {
  100.     port = 143
  101.   }
  102.   process_limit = 8192
  103. }
  104. service imap {
  105.   process_limit = 8192
  106. }
  107. service ipc {
  108.   client_limit = 6000
  109. }
  110. service lmtp {
  111.   inet_listener lmtp {
  112.     address = 10.92.25.8
  113.     port = 2525
  114.   }
  115. }
  116. service managesieve-login {
  117.   inet_listener sieve {
  118.     port = 4190
  119.   }
  120. }
  121. service quota-warning {
  122.   executable = script /usr/local/bin/quota-warning.sh
  123.   unix_listener quota-warning {
  124.     mode = 0666
  125.   }
  126. }
  127. service stats {
  128.   client_limit = 8192
  129. }
  130. ssl_cert = </etc/dovecot/cert/mail-cert.pem
  131. ssl_dh = # hidden, use -P to show it
  132. ssl_key = # hidden, use -P to show it
  133. userdb {
  134.   args = /etc/dovecot/dovecot-ldap-userdb.conf.ext
  135.   driver = ldap
  136.   override_fields = uid=dovecot gid=mail master_user=%u
  137. }
  138. protocol lmtp {
  139.   mail_plugins = quota sieve
  140. }
  141. protocol imap {
  142.   mail_max_userip_connections = 1000
  143.   mail_plugins = quota imap_quota imap_sieve
  144. }
  145. local 10.92.25.0/24 {
  146.   doveadm_password = # hidden, use -P to show it
  147. }
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