Nessuna descrizione

10-master.conf 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. #default_process_limit = 100
  2. #default_client_limit = 1000
  3. # Default VSZ (virtual memory size) limit for service processes. This is mainly
  4. # intended to catch and kill processes that leak memory before they eat up
  5. # everything.
  6. #default_vsz_limit = 256M
  7. # Login user is internally used by login processes. This is the most untrusted
  8. # user in Dovecot system. It shouldn't have access to anything at all.
  9. #default_login_user = dovenull
  10. # Internal user is used by unprivileged processes. It should be separate from
  11. # login user, so that login processes can't disturb other processes.
  12. #default_internal_user = dovecot
  13. service imap-login {
  14. inet_listener imap {
  15. #port = 143
  16. port = 0
  17. }
  18. inet_listener imaps {
  19. port = 993
  20. ssl = yes
  21. }
  22. # Number of connections to handle before starting a new process. Typically
  23. # the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
  24. # is faster. <doc/wiki/LoginProcess.txt>
  25. #service_count = 1
  26. # Number of processes to always keep waiting for more connections.
  27. #process_min_avail = 0
  28. # If you set service_count=0, you probably need to grow this.
  29. #vsz_limit = $default_vsz_limit
  30. }
  31. service pop3-login {
  32. inet_listener pop3 {
  33. #port = 110
  34. port = 0
  35. }
  36. inet_listener pop3s {
  37. port = 995
  38. ssl = yes
  39. }
  40. }
  41. service lmtp {
  42. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  43. mode = 0600
  44. user = postfix
  45. group = postfix
  46. }
  47. #unix_listener lmtp {
  48. #mode = 0666
  49. #}
  50. # Create inet listener only if you can't use the above UNIX socket
  51. #inet_listener lmtp {
  52. # Avoid making LMTP visible for the entire internet
  53. #address =
  54. #port =
  55. #}
  56. }
  57. service imap {
  58. # Most of the memory goes to mmap()ing files. You may need to increase this
  59. # limit if you have huge mailboxes.
  60. #vsz_limit = $default_vsz_limit
  61. # Max. number of IMAP processes (connections)
  62. #process_limit = 1024
  63. }
  64. service pop3 {
  65. # Max. number of POP3 processes (connections)
  66. #process_limit = 1024
  67. }
  68. service auth {
  69. # auth_socket_path points to this userdb socket by default. It's typically
  70. # used by dovecot-lda, doveadm, possibly imap process, etc. Users that have
  71. # full permissions to this socket are able to get a list of all usernames and
  72. # get the results of everyone's userdb lookups.
  73. #
  74. # The default 0666 mode allows anyone to connect to the socket, but the
  75. # userdb lookups will succeed only if the userdb returns an "uid" field that
  76. # matches the caller process's UID. Also if caller's uid or gid matches the
  77. # socket's uid or gid the lookup succeeds. Anything else causes a failure.
  78. #
  79. # To give the caller full permissions to lookup all users, set the mode to
  80. # something else than 0666 and Dovecot lets the kernel enforce the
  81. # permissions (e.g. 0777 allows everyone full permissions).
  82. unix_listener auth-userdb {
  83. mode = 0600
  84. #user =
  85. #group =
  86. }
  87. # Postfix smtp-auth
  88. unix_listener /var/spool/postfix/private/auth {
  89. mode = 0666
  90. }
  91. # Auth process is run as this user.
  92. #user = $default_internal_user
  93. }
  94. service auth-worker {
  95. # Auth worker process is run as root by default, so that it can access
  96. # /etc/shadow. If this isn't necessary, the user should be changed to
  97. # $default_internal_user.
  98. user = $default_internal_user
  99. }
  100. service dict {
  101. # If dict proxy is used, mail processes should have access to its socket.
  102. # For example: mode=0660, group=vmail and global mail_access_groups=vmail
  103. unix_listener dict {
  104. #mode = 0600
  105. #user =
  106. #group =
  107. }
  108. }