Advertisement
Guest User

Untitled

a guest
Jun 5th, 2017
665
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. -> cat dovecot.conf
  2. protocols = imap imaps
  3.  
  4.  
  5. protocol imap {
  6. listen = *:143
  7. ssl_listen = *:993
  8. }
  9.  
  10. #protocol pop3 {
  11. # listen = *:110
  12. # ssl_listen = *:995
  13. # }
  14.  
  15.  
  16. login_process_size = 64
  17. mail_location = maildir:/usr/local/virtual/%d/%u
  18.  
  19.  
  20. namespace private {
  21. separator = .
  22. prefix = INBOX.
  23. inbox = yes
  24. }
  25.  
  26.  
  27. verbose_proctitle = yes
  28. first_valid_uid = 1008
  29. last_valid_uid = 1008
  30. first_valid_gid = 1008
  31. last_valid_gid = 1008
  32.  
  33. maildir_copy_with_hardlinks = yes
  34. #umask = 0077
  35. mbox_read_locks = fcntl
  36. mbox_write_locks = fcntl
  37.  
  38. #ssl_disable = no
  39.  
  40. ssl_cert_file = /etc/postfix/mail.pem
  41. ssl_key_file = /etc/postfix/mail.pem
  42.  
  43. # If key file is password protected, give the password here. Alternatively
  44. # give it when starting dovecot with -p parameter.
  45. ssl_key_password =
  46.  
  47. imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
  48.  
  49. #People who use outlook are fux0red anyway...
  50.  
  51. #protocol pop3 {
  52. # pop3_uidl_format = %08Xu%08Xv
  53. # pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  54. #}
  55.  
  56. protocol lda {
  57. postmaster_address = postmaster@sequestered.net
  58. sendmail_path = /usr/sbin/sendmail
  59. mail_plugins = sieve
  60. }
  61.  
  62. auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
  63.  
  64. #auth_debug = yes
  65. #auth_verbose = yes
  66.  
  67. auth default {
  68. user = nobody
  69. mechanisms = plain login #digest-md5 cram-md5
  70. passdb sql {
  71. args = /etc/dovecot/dovecot-mysql.conf
  72. }
  73.  
  74. userdb sql {
  75. args = /etc/dovecot/dovecot-mysql.conf
  76. }
  77. socket listen {
  78. client {
  79. path = /var/spool/postfix/private/auth
  80. mode = 0660
  81. user = postfix
  82. group = postfix
  83. }
  84. }
  85.  
  86. }
  87.  
  88.  
  89. #log_path = /var/log/dovecot.log
  90. auth_default_realm = sequestered.net
  91.  
  92. plugin {
  93. sieve = ~/.dovecot.sieve
  94. sieve_global_path = /etc/dovecot/default.sieve
  95. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement