Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

133 righe
3.6 KiB

  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. }
  17. inet_listener imaps {
  18. #port = 993
  19. #ssl = yes
  20. }
  21. # Number of connections to handle before starting a new process. Typically
  22. # the only useful values are 0 (unlimited) or 1. 1 is more secure, but 0
  23. # is faster. <doc/wiki/LoginProcess.txt>
  24. #service_count = 1
  25. # Number of processes to always keep waiting for more connections.
  26. #process_min_avail = 0
  27. # If you set service_count=0, you probably need to grow this.
  28. #vsz_limit = $default_vsz_limit
  29. }
  30. service pop3-login {
  31. inet_listener pop3 {
  32. #port = 110
  33. }
  34. inet_listener pop3s {
  35. #port = 995
  36. #ssl = yes
  37. }
  38. }
  39. service submission-login {
  40. inet_listener submission {
  41. #port = 587
  42. }
  43. }
  44. service lmtp {
  45. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  46. group = postfix
  47. mode = 0600
  48. user = postfix
  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 submission {
  69. # Max. number of SMTP Submission processes (connections)
  70. #process_limit = 1024
  71. }
  72. service auth {
  73. # auth_socket_path points to this userdb socket by default. It's typically
  74. # used by dovecot-lda, doveadm, possibly imap process, etc. Users that have
  75. # full permissions to this socket are able to get a list of all usernames and
  76. # get the results of everyone's userdb lookups.
  77. #
  78. # The default 0666 mode allows anyone to connect to the socket, but the
  79. # userdb lookups will succeed only if the userdb returns an "uid" field that
  80. # matches the caller process's UID. Also if caller's uid or gid matches the
  81. # socket's uid or gid the lookup succeeds. Anything else causes a failure.
  82. #
  83. # To give the caller full permissions to lookup all users, set the mode to
  84. # something else than 0666 and Dovecot lets the kernel enforce the
  85. # permissions (e.g. 0777 allows everyone full permissions).
  86. unix_listener /var/spool/postfix/private/auth {
  87. mode = 0660
  88. user = postfix
  89. group = postfix
  90. }
  91. # Postfix smtp-auth
  92. #unix_listener /var/spool/postfix/private/auth {
  93. # mode = 0666
  94. #}
  95. # Auth process is run as this user.
  96. #user = $default_internal_user
  97. }
  98. service auth-worker {
  99. # Auth worker process is run as root by default, so that it can access
  100. # /etc/shadow. If this isn't necessary, the user should be changed to
  101. # $default_internal_user.
  102. #user = root
  103. }
  104. service dict {
  105. # If dict proxy is used, mail processes should have access to its socket.
  106. # For example: mode=0660, group=vmail and global mail_access_groups=vmail
  107. unix_listener dict {
  108. #mode = 0600
  109. #user =
  110. #group =
  111. }
  112. }