Advertisement
Guest User

Untitled

a guest
Aug 17th, 2016
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. alias_database = hash:/etc/aliases
  2. alias_maps = hash:/etc/aliases
  3. allow_min_user = no
  4. append_dot_mydomain = no
  5. biff = no
  6. bounce_queue_lifetime = 6h
  7. broken_sasl_auth_clients = yes
  8. config_directory = /etc/postfix
  9. content_filter = smtp-amavis:[127.0.0.1]:10024
  10. default_process_limit = 500
  11. delay_warning_time = 0h
  12. disable_vrfy_command = yes
  13. dovecot_destination_recipient_limit = 1
  14. enable_original_recipient = no
  15. home_mailbox = Maildir/
  16. inet_interfaces = all
  17. inet_protocols = ipv4
  18. mailbox_size_limit = 0
  19. maximal_backoff_time = 4000s
  20. maximal_queue_lifetime = 2d
  21. message_size_limit = 104857600
  22. milter_default_action = accept
  23. milter_protocol = 2
  24. minimal_backoff_time = 300s
  25. mydestination = $myhostname, localhost.$mydomain $mydomain
  26. mydomain = mail1.mydomain.com
  27. myhostname = mail1.mydomain.com
  28. mynetworks = 127.0.0.0/8
  29. myorigin = mail1.mydomain.com
  30. postscreen_access_list = permit_mynetworks, cidr:/etc/postfix/postscreen_access.cidr
  31. postscreen_dnsbl_action = enforce
  32. postscreen_dnsbl_sites = zen.spamhaus.org*2 bl.spamcop.net*1 b.barracudacentral.org*1
  33. postscreen_dnsbl_threshold = 2
  34. postscreen_greet_action = enforce
  35. postscreen_greet_banner =
  36. postscreen_upstream_proxy_protocol = haproxy
  37. proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps $smtpd_sender_restrictions
  38. queue_run_delay = 15m
  39. readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
  40. recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf
  41. recipient_canonical_classes = envelope_recipient
  42. recipient_canonical_maps = hash:/etc/postfix/pfix-no-srs.cf, tcp:127.0.0.1:10002
  43. recipient_delimiter = +
  44. relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf
  45. sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf
  46. sender_canonical_classes = envelope_sender
  47. sender_canonical_maps = hash:/etc/postfix/pfix-no-srs.cf, tcp:127.0.0.1:10001
  48. smtp_connection_cache_on_demand = yes
  49. smtp_connection_cache_time_limit = 10s
  50. smtp_data_init_timeout = 180s
  51. smtp_data_xfer_timeout = 300s
  52. smtp_tls_CAfile = $smtpd_tls_CAfile
  53. smtp_tls_loglevel = 0
  54. smtp_tls_note_starttls_offer = yes
  55. smtp_tls_security_level = may
  56. smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
  57. smtpd_banner = $myhostname ESMTP $mail_name
  58. smtpd_data_restrictions = reject_unauth_pipelining
  59. smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10040 check_policy_service inet:127.0.0.1:7777
  60. smtpd_hard_error_limit = 150
  61. smtpd_helo_required = yes
  62. smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_helo_access pcre:/etc/postfix/helo_access.pcre reject_unknown_helo_hostname
  63. smtpd_policy_service_timeout = 400s
  64. smtpd_recipient_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777 permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_client_access hash:/etc/postfix/rbl_override
  65. smtpd_reject_unlisted_recipient = yes
  66. smtpd_sasl_auth_enable = yes
  67. smtpd_sasl_local_domain =
  68. smtpd_sasl_path = private/dovecot-auth
  69. smtpd_sasl_security_options = noanonymous
  70. smtpd_sasl_type = dovecot
  71. smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
  72. smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_unlisted_sender, reject_sender_login_mismatch, permit_sasl_authenticated
  73. smtpd_soft_error_limit = 50
  74. smtpd_tls_CAfile = /etc/ssl/ca-bundle.crt
  75. smtpd_tls_auth_only = no
  76. smtpd_tls_cert_file = /etc/ssl/zenbox.crt
  77. smtpd_tls_key_file = /etc/ssl/zenbox.key
  78. smtpd_tls_loglevel = 0
  79. smtpd_tls_security_level = may
  80. smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
  81. smtpd_use_tls = yes
  82. tls_random_source = dev:/dev/urandom
  83. virtual_alias_expansion_limit = 2500
  84. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_maps.cf, proxy:mysql:/etc/postfix/mysql/catchall_maps.cf, proxy:mysql:/etc/postfix/mysql/domain_alias_catchall_maps.cf
  85. virtual_gid_maps = static:2000
  86. virtual_mailbox_base = /home/vmail
  87. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
  88. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
  89. virtual_minimum_uid = 2000
  90. virtual_transport = lmtp:unix:private/dovecot-lmtp
  91. virtual_uid_maps = static:2000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement