Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_dovecot_conf.d_10-master.conf 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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 = vmail
  13. service imap-login {
  14. inet_listener imap {
  15. port = 0
  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 = 0
  33. }
  34. inet_listener pop3s {
  35. #port = 995
  36. #ssl = yes
  37. }
  38. }
  39. service lmtp {
  40. unix_listener /var/spool/postfix/private/dovecot-lmtp {
  41. mode = 0666
  42. group = postfix
  43. user = postfix
  44. }
  45. # Create inet listener only if you can't use the above UNIX socket
  46. #inet_listener lmtp {
  47. # Avoid making LMTP visible for the entire internet
  48. #address =
  49. #port =
  50. #}
  51. user = vmail
  52. }
  53. service imap {
  54. # Most of the memory goes to mmap()ing files. You may need to increase this
  55. # limit if you have huge mailboxes.
  56. #vsz_limit = $default_vsz_limit
  57. # Max. number of IMAP processes (connections)
  58. #process_limit = 1024
  59. }
  60. service pop3 {
  61. # Max. number of POP3 processes (connections)
  62. #process_limit = 1024
  63. }
  64. service auth {
  65. # auth_socket_path points to this userdb socket by default. It's typically
  66. # used by dovecot-lda, doveadm, possibly imap process, etc. Its default
  67. # permissions make it readable only by root, but you may need to relax these
  68. # permissions. Users that have access to this socket are able to get a list
  69. # of all usernames and get results of everyone's userdb lookups.
  70. unix_listener /var/spool/postfix/private/auth {
  71. mode = 0666
  72. user = postfix
  73. group = postfix
  74. }
  75. unix_listener auth-userdb {
  76. mode = 0660
  77. user = vmail
  78. group = vmail
  79. }
  80. # Postfix smtp-auth
  81. #unix_listener /var/spool/postfix/private/auth {
  82. # mode = 0666
  83. #}
  84. # Auth process is run as this user.
  85. user = vmail
  86. }
  87. service auth-worker {
  88. # Auth worker process is run as root by default, so that it can access
  89. # /etc/shadow. If this isn't necessary, the user should be changed to
  90. # $default_internal_user.
  91. #user = vmail
  92. unix_listener auth-worker {
  93. user = vmail # same as above, mode and group are supported too
  94. }
  95. }
  96. service dict {
  97. # If dict proxy is used, mail processes should have access to its socket.
  98. # For example: mode=0660, group=vmail and global mail_access_groups=vmail
  99. unix_listener dict {
  100. #mode = 0600
  101. #user =
  102. #group =
  103. }
  104. }