Advertisement
Guest User

Untitled

a guest
Jun 27th, 2019
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. access_map_reject_code = 554
  2. alias_maps =
  3. compatibility_level = 2
  4. debug_peer_level = 100
  5. disable_vrfy_command = yes
  6. inet_interfaces = all
  7. inet_protocols = all
  8. invalid_hostname_reject_code = 554
  9. lmtp_host_lookup = native
  10. mailbox_size_limit = 0
  11. maps_rbl_reject_code = 554
  12. message_size_limit = 50000000
  13. milter_default_action = accept
  14. milter_protocol = 2
  15. multi_recipient_bounce_reject_code = 554
  16. mydestination =
  17. mydomain = s2.__SNIP__.com
  18. myhostname = s2.__SNIP__.com
  19. mynetworks = 127.0.0.1/32 [::1]/128 10.0.0.0/8
  20. myorigin = $mydomain
  21. mysql = mysql:${config_directory}
  22. non_fqdn_reject_code = 554
  23. non_smtpd_milters = inet:opendkim.mail-server:8891
  24. plaintext_reject_code = 554
  25. postscreen_upstream_proxy_protocol = haproxy
  26. postscreen_upstream_proxy_timeout = 10s
  27. readme_directory = no
  28. recipient_delimiter = +
  29. reject_code = 554
  30. relay_domains_reject_code = 554
  31. smtpd_data_restrictions = reject_unauth_pipelining
  32. smtpd_delay_reject = no
  33. smtpd_error_sleep_time = 20
  34. smtpd_hard_error_limit = 3
  35. smtpd_helo_required = yes
  36. smtpd_helo_restrictions = permit_mynetworks reject_unknown_helo_hostname reject_non_fqdn_helo_hostname reject_invalid_helo_hostname
  37. smtpd_junk_command_limit = 2
  38. smtpd_milters = inet:opendkim.mail-server:8891
  39. smtpd_recipient_restrictions = reject_non_fqdn_recipient reject_unknown_recipient_domain permit_mynetworks reject_unknown_reverse_client_hostname reject_unknown_client_hostname permit
  40. smtpd_relay_restrictions = permit_mynetworks reject_unauth_destination
  41. smtpd_sasl_path = inet:dovecot.mail-server:24
  42. smtpd_sasl_type = dovecot
  43. smtpd_sender_restrictions = reject_unknown_sender_domain reject_non_fqdn_sender
  44. smtpd_soft_error_limit = 1
  45. smtpd_tls_cert_file = /etc/certs/tls.crt
  46. smtpd_tls_key_file = /etc/certs/tls.key
  47. smtpd_tls_security_level = may
  48. unknown_address_reject_code = 554
  49. unknown_client_reject_code = 450
  50. unknown_hostname_reject_code = 450
  51. unknown_local_recipient_reject_code = 554
  52. unknown_relay_recipient_reject_code = 554
  53. unknown_virtual_alias_reject_code = 554
  54. unknown_virtual_mailbox_reject_code = 554
  55. unverified_recipient_reject_code = 554
  56. unverified_recipient_reject_reason = Address lookup failure
  57. unverified_sender_reject_code = 554
  58. virtual_alias_maps = ${mysql}/mysql_virtual_alias_maps.cf
  59. virtual_mailbox_domains = ${mysql}/mysql_virtual_mailbox_domains.cf
  60. virtual_mailbox_limit = 0
  61. virtual_mailbox_maps = ${mysql}/mysql_virtual_mailbox_maps.cf
  62. virtual_transport = lmtp:inet:dovecot.mail-server:24
  63.  
  64. # doveconf -n
  65. # 2.3.4.1 (f79e8e7e4): /etc/dovecot/dovecot.conf
  66. # Pigeonhole version 0.5.4 ()
  67. # OS: Linux 4.9.0-8-amd64 x86_64 Debian buster/sid ext4
  68. # Hostname: dovecot-0.dovecot.mail-server.svc.cluster.local
  69. auth_debug = yes
  70. auth_debug_passwords = yes
  71. auth_mechanisms = plain login
  72. auth_verbose = yes
  73. auth_verbose_passwords = yes
  74. disable_plaintext_auth = no
  75. first_valid_gid = 8
  76. first_valid_uid = 8
  77. haproxy_timeout = 5 secs
  78. haproxy_trusted_networks = 10.0.0.0/8
  79. hostname = s2.__SNIP__.com
  80. log_path = /dev/stderr
  81. mail_access_groups = mail
  82. mail_debug = yes
  83. mail_gid = mail
  84. mail_home = /mail/%d/%n
  85. mail_location = maildir:/mail/%d/%n
  86. mail_privileged_group = mail
  87. mail_uid = mail
  88. maildir_stat_dirs = yes
  89. namespace inbox {
  90. inbox = yes
  91. location =
  92. mailbox Drafts {
  93. auto = subscribe
  94. special_use = Drafts
  95. }
  96. mailbox Junk {
  97. auto = subscribe
  98. special_use = Junk
  99. }
  100. mailbox Sent {
  101. auto = subscribe
  102. special_use = Sent
  103. }
  104. mailbox Trash {
  105. auto = subscribe
  106. special_use = Trash
  107. }
  108. prefix =
  109. }
  110. passdb {
  111. args = /etc/dovecot/dovecot-sql.conf.ext
  112. driver = sql
  113. }
  114. postmaster_address = info@__SNIP__.com
  115. protocols = " imap lmtp pop3 submission"
  116. service auth-worker {
  117. unix_listener auth-worker {
  118. group = mail
  119. mode = 0660
  120. user = $default_internal_user
  121. }
  122. user = mail
  123. }
  124. service auth {
  125. user = $default_internal_user
  126. }
  127. service dict {
  128. unix_listener dict {
  129. group = mail
  130. mode = 0660
  131. }
  132. }
  133. service imap-login {
  134. inet_listener imap {
  135. haproxy = yes
  136. port = 143
  137. }
  138. inet_listener imaps {
  139. haproxy = yes
  140. port = 993
  141. ssl = yes
  142. }
  143. }
  144. service lmtp {
  145. inet_listener lmtp {
  146. haproxy = no
  147. port = 24
  148. }
  149. }
  150. service pop3-login {
  151. inet_listener pop3 {
  152. haproxy = yes
  153. port = 110
  154. }
  155. inet_listener pop3s {
  156. haproxy = yes
  157. port = 995
  158. ssl = yes
  159. }
  160. }
  161. service submission-login {
  162. inet_listener submission {
  163. haproxy = no
  164. port = 587
  165. }
  166. }
  167. ssl_cert = </certs/tls.crt
  168. ssl_dh = # hidden, use -P to show it
  169. ssl_key = # hidden, use -P to show it
  170. submission_relay_host = postfix.mail-server
  171. submission_relay_port = 587
  172. userdb {
  173. driver = prefetch
  174. }
  175. userdb {
  176. args = /etc/dovecot/dovecot-sql.conf.ext
  177. driver = sql
  178. }
  179. verbose_ssl = yes
  180. protocol !indexer-worker {
  181. mail_vsize_bg_after_count = 100
  182. }
  183. protocol lda {
  184. mail_plugins =
  185. }
  186. protocol imap {
  187. mail_plugins =
  188. }
  189. protocol lmtp {
  190. mail_plugins =
  191. recipient_delimiter = +
  192. }
  193. protocol pop3 {
  194. mail_plugins =
  195. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement