Guest User

Untitled

a guest
Mar 8th, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. protocols = imap pop3 imaps pop3s
  2. listen = *
  3. login_process_size = 64
  4. default_mail_env = maildir:/home/virtual_mail/%u/
  5. namespace private {
  6. separator = .
  7. prefix = INBOX.
  8. inbox = yes
  9. }
  10.  
  11. namespace private {
  12. separator = .
  13. prefix = INBOX.
  14. inbox = yes
  15. hidden = yes
  16. }
  17.  
  18. mail_access_groups = postfix
  19. mail_privileged_group = postfix
  20. verbose_proctitle = yes
  21. first_valid_uid = 89
  22. first_valid_gid = 89
  23. #umask = 0077
  24. mbox_read_locks = fcntl
  25. mbox_write_locks = fcntl
  26.  
  27. ## Ssl section
  28. ssl_disable = no
  29. ssl_cert_file = /etc/ssl/certs/dovecot.pem
  30. ssl_key_file = /etc/ssl/private/dovecot.pem
  31.  
  32. # If key file is password protected, give the password here. Alternatively
  33. # give it when starting dovecot with -p parameter.
  34. ssl_key_password =
  35.  
  36. protocol imap {
  37. imap_client_workarounds = delay-newmail outlook-idle netscape-eoh tb-extra-mailbox-sep
  38. mail_executable = /usr/libexec/dovecot/popbsmtp.sh /usr/libexec/dovecot/imap
  39. }
  40.  
  41. #People who use outlook are fux0red anyway...
  42.  
  43. protocol pop3 {
  44. pop3_uidl_format = %08Xu%08Xv
  45. pop3_client_workarounds = outlook-no-nuls oe-ns-eoh
  46. mail_executable = /usr/libexec/dovecot/popbsmtp.sh /usr/libexec/dovecot/pop3
  47. }
  48. protocol lda {
  49. postmaster_address = postmaster@myhostname
  50. sendmail_path = /usr/sbin/sendmail
  51. }
  52.  
  53. auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@
  54.  
  55. auth_debug = yes
  56. auth_verbose = yes
  57. auth default {
  58.  
  59. mechanisms = plain login
  60. passdb sql {
  61. args = /etc/dovecot-mysql.conf
  62. }
  63.  
  64. userdb sql {
  65. args = /etc/dovecot-mysql.conf
  66. }
  67.  
  68. socket listen {
  69. client {
  70. path = /var/spool/postfix/private/auth
  71. mode = 432
  72. user = postfix
  73. group = postfix
  74. }
  75. master {
  76. path = /var/run/dovecot/auth-master
  77. mode = 384
  78. user = postfix
  79. }
  80. }
  81. }
Add Comment
Please, Sign In to add comment