Advertisement
Guest User

conf.d/10-master.conf

a guest
Oct 26th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.12 KB | None | 0 0
  1. #default_process_limit = 100
  2. #default_client_limit = 1000
  3.  
  4. # Default VSZ (virtual memory size) limit for service processes. This is mainly
  5. # intended to catch and kill processes that leak memory before they eat up
  6. # everything.
  7. #default_vsz_limit = 256M
  8.  
  9. # Login user is internally used by login processes. This is the most untrusted
  10. # user in Dovecot system. It shouldn't have access to anything at all.
  11. #default_login_user = dovenull
  12.  
  13. # Internal user is used by unprivileged processes. It should be separate from
  14. # login user, so that login processes can't disturb other processes.
  15. #default_internal_user = dovecot
  16.  
  17. service imap-login {
  18. inet_listener imap {
  19. #port = 143
  20. }
  21. inet_listener imaps {
  22. #port = 993
  23. #ssl = yes
  24. }
  25.  
  26. # Number of connections to handle before starting a new process. Typically
  27. # the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
  28. # is faster. <doc/wiki/LoginProcess.txt>
  29. #service_count = 1
  30.  
  31. # Number of processes to always keep waiting for more connections.
  32. #process_min_avail = 0
  33.  
  34. # If you set service_count=0, you probably need to grow this.
  35. #vsz_limit = 64M
  36. }
  37.  
  38. service pop3-login {
  39. inet_listener pop3 {
  40. #port = 110
  41. }
  42. inet_listener pop3s {
  43. #port = 995
  44. #ssl = yes
  45. }
  46. }
  47.  
  48. service lmtp {
  49. unix_listener lmtp {
  50. #mode = 0666
  51. }
  52.  
  53. # Create inet listener only if you can't use the above UNIX socket
  54. #inet_listener lmtp {
  55. # Avoid making LMTP visible for the entire internet
  56. #address =
  57. #port =
  58. #}
  59. }
  60.  
  61. service imap {
  62. # Most of the memory goes to mmap()ing files. You may need to increase this
  63. # limit if you have huge mailboxes.
  64. #vsz_limit = 256M
  65.  
  66. # Max. number of IMAP processes (connections)
  67. #process_limit = 1024
  68. }
  69.  
  70. service pop3 {
  71. # Max. number of POP3 processes (connections)
  72. #process_limit = 1024
  73. }
  74.  
  75. service auth {
  76. # auth_socket_path points to this userdb socket by default. It's typically
  77. # used by dovecot-lda, doveadm, possibly imap process, etc. Its default
  78. # permissions make it readable only by root, but you may need to relax these
  79. # permissions. Users that have access to this socket are able to get a list
  80. # of all usernames and get results of everyone's userdb lookups.
  81. unix_listener auth-userdb {
  82. mode = 0600
  83. user = postfix
  84. group = postfix
  85. }
  86.  
  87. # Postfix smtp-auth
  88. #unix_listener /var/spool/postfix/private/auth {
  89. # mode = 0666
  90. #}
  91.  
  92. # Auth process is run as this user.
  93. #user = $default_internal_user
  94. }
  95.  
  96. service auth-worker {
  97. # Auth worker process is run as root by default, so that it can access
  98. # /etc/shadow. If this isn't necessary, the user should be changed to
  99. # $default_internal_user.
  100. #user = root
  101. }
  102.  
  103. service dict {
  104. # If dict proxy is used, mail processes should have access to its socket.
  105. # For example: mode=0660, group=vmail and global mail_access_groups=vmail
  106. unix_listener dict {
  107. #mode = 0600
  108. #user =
  109. #group =
  110. }
  111. }
  112. # EDITED 10/26/13
  113. service auth {
  114. unix_listener auth-userdb {
  115. }
  116. inet_listener {
  117. port = 39081
  118. }
  119. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement