Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 KB | None | 0 0
  1. [root@web suporte]# postconf -nf
  2. alias_database = hash:/etc/aliases
  3. alias_maps = hash:/etc/aliases
  4. bounce_queue_lifetime = 1d
  5. bounce_template_file = /etc/postfix/bounce.cf
  6. broken_sasl_auth_clients = yes
  7. command_directory = /usr/sbin
  8. config_directory = /etc/postfix
  9. daemon_directory = /usr/libexec/postfix
  10. data_directory = /var/lib/postfix
  11. debug_peer_level = 2
  12. debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb
  13. $daemon_directory/$process_name $process_id & sleep 5
  14. disable_vrfy_command = yes
  15. dovecot_destination_recipient_limit = 1
  16. html_directory = no
  17. inet_interfaces = all
  18. inet_protocols = ipv4
  19. mail_owner = postfix
  20. mailq_path = /usr/bin/mailq.postfix
  21. manpage_directory = /usr/share/man
  22. maximal_queue_lifetime = 1d
  23. message_size_limit = 50480000
  24. milter_default_action = accept
  25. milter_protocol = 2
  26. mydestination = $myhostname, localhost.$mydomain, localhost
  27. mydomain = domain.com
  28. myhostname = pluto.domain.com
  29. mynetworks = $config_directory/mynetworks
  30. myorigin = $mydomain
  31. newaliases_path = /usr/bin/newaliases.postfix
  32. non_smtpd_milters = $smtpd_milters
  33. queue_directory = /var/spool/postfix
  34. readme_directory = /usr/share/doc/postfix-2.11.0/README_FILES
  35. recipient_delimiter = +
  36. relay_domains = proxy:mysql:/etc/postfix/mysql-relay_domains_maps.cf
  37. sample_directory = /usr/share/doc/postfix-2.11.0/samples
  38. sendmail_path = /usr/sbin/sendmail.postfix
  39. setgid_group = postdrop
  40. smtp_destination_concurrency_limit = 30
  41. smtp_destination_recipient_limit = 10
  42. smtp_helo_timeout = 60s
  43. smtp_sender_dependent_authentication = yes
  44. smtp_tls_session_cache_database = btree:$data_directory/smtp_tls_session_cache
  45. smtp_use_tls = yes
  46. smtpd_client_message_rate_limit = 50
  47. smtpd_client_restrictions =
  48. smtpd_data_restrictions = reject_unauth_pipelining
  49. smtpd_delay_reject = yes
  50. smtpd_helo_required = yes
  51. smtpd_helo_restrictions =
  52. smtpd_milters = inet:127.0.0.1:8891
  53. smtpd_recipient_limit = 30
  54. smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated,
  55. reject_invalid_hostname, reject_unverified_recipient,
  56. reject_unauth_destination, reject_non_fqdn_sender,
  57. reject_non_fqdn_recipient, reject_unknown_recipient_domain,
  58. reject_unauth_pipelining, reject_rbl_client zen.spamhaus.org,
  59. smtpd_relay_restrictions = permit_sasl_authenticated, permit_mynetworks,
  60. smtpd_sasl_auth_enable = yes
  61. smtpd_sasl_local_domain = $mydomain
  62. smtpd_sasl_path = private/auth
  63. smtpd_sasl_security_options = noanonymous
  64. smtpd_sasl_type = dovecot
  65. smtpd_sender_login_maps =
  66. smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated,
  67. reject_non_fqdn_sender, reject_unknown_sender_domain, reject_rhsbl_sender
  68. dsn.rfc-ignorant.org, reject_unauth_pipelining,
  69. smtpd_tls_auth_only = no
  70. smtpd_tls_cert_file =
  71. /etc/letsencrypt/live/mail.domain.com/fullchain.pem
  72. smtpd_tls_key_file = /etc/letsencrypt/live/mail.domain.com/privkey.pem
  73. smtpd_tls_loglevel = 1
  74. smtpd_tls_mandatory_ciphers = medium, high
  75. smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
  76. smtpd_tls_protocols = !SSLv2, !SSLv3
  77. smtpd_tls_received_header = yes
  78. smtpd_tls_security_level = may
  79. smtpd_tls_session_cache_timeout = 3600s
  80. smtpd_use_tls = yes
  81. strict_rfc821_envelopes = yes
  82. tls_preempt_cipherlist = yes
  83. tls_random_source = dev:/dev/urandom
  84. transport_maps = hash:/etc/postfix/transport
  85. unknown_address_reject_code = 554
  86. unknown_client_reject_code = 554
  87. unknown_hostname_reject_code = 554
  88. unknown_local_recipient_reject_code = 550
  89. vacation_destination_recipient_limit = 1
  90. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_alias_maps.cf,
  91. regexp:/etc/postfix/virtual_regexp
  92. virtual_gid_maps = static:12
  93. virtual_mailbox_base = /vmail
  94. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains_maps.cf
  95. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_maps.cf
  96. virtual_minimum_uid = 101
  97. virtual_transport = dovecot
  98. virtual_uid_maps = static:101
  99.  
  100.  
  101. [root@web suporte]# postconf -Mf
  102. smtp inet n - n - - smtpd
  103. -o content_filter=smtp-amavis:127.0.0.1:10024
  104. -o receive_override_options=no_address_mappings
  105. submission inet n - n - - smtpd
  106. -o smtpd_sasl_auth_enable=yes
  107. -o smtpd_sasl_type=dovecot
  108. -o smtpd_sasl_path=private/auth
  109. -o smtpd_sasl_security_options=noanonymous
  110. -o smtpd_sasl_local_domain=$myhostname
  111. -o smtpd_client_restrictions=permit_sasl_authenticated,reject
  112. pickup fifo n - n 60 1 pickup
  113. -o content_filter=
  114. -o receive_override_options=no_header_body_checks
  115. cleanup unix n - n - 0 cleanup
  116. qmgr fifo n - n 300 1 qmgr
  117. tlsmgr unix - - n 1000? 1 tlsmgr
  118. rewrite unix - - n - - trivial-rewrite
  119. bounce unix - - n - 0 bounce
  120. defer unix - - n - 0 bounce
  121. trace unix - - n - 0 bounce
  122. verify unix - - n - 1 verify
  123. flush unix n - n 1000? 0 flush
  124. proxymap unix - - n - - proxymap
  125. smtp unix - - n - - smtp
  126. relay unix - - n - - smtp
  127. -o fallback_relay=
  128. showq unix n - n - - showq
  129. error unix - - n - - error
  130. discard unix - - n - - discard
  131. local unix - n n - - local
  132. virtual unix - n n - - virtual
  133. lmtp unix - - n - - lmtp
  134. anvil unix - - n - 1 anvil
  135. scache unix - - n - 1 scache
  136. maildrop unix - n n - - pipe flags=DRhu
  137. user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
  138. uucp unix - n n - - pipe flags=Fqhu
  139. user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
  140. ifmail unix - n n - - pipe flags=F user=ftn
  141. argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
  142. bsmtp unix - n n - - pipe flags=Fq.
  143. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
  144. smtp-amavis unix - - y - 2 smtp
  145. -o smtp_data_done_timeout=1200
  146. -o disable_dns_lookups=yes
  147. -o smtp_send_xforward_command=yes
  148. 127.0.0.1:10025 inet n - y - - smtpd
  149. -o content_filter=
  150. -o smtpd_helo_restrictions=
  151. -o smtpd_sender_restrictions=permit_sasl_authenticated
  152. -o smtpd_recipient_restrictions=permit_mynetworks,reject
  153. -o mynetworks=127.0.0.0/8
  154. -o smtpd_error_sleep_time=0
  155. -o smtpd_soft_error_limit=1001
  156. -o smtpd_hard_error_limit=1000
  157. -o receive_override_options=no_header_body_checks
  158. -o smtpd_helo_required=no
  159. -o smtpd_client_restrictions=
  160. -o smtpd_restriction_classes=
  161. -o disable_vrfy_command=no
  162. -o strict_rfc821_envelopes=yes
  163. dovecot unix - n n - - pipe flags=DRhu
  164. user=vmail:mail argv=/usr/libexec/dovecot/deliver -d ${recipient}
  165. vacation unix - n n - - pipe flags=Rq
  166. user=vacation argv=/var/spool/vacation/vacation.pl -f ${sender} --
  167. ${recipient}
  168. retry unix - - n - - error
  169. proxywrite unix - - n - 1 proxymap
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement