Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.49 KB | None | 0 0
  1. virtual_alias_domains =
  2. virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf
  3. virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
  4. virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
  5. virtual_mailbox_base = /var/vmail
  6. virtual_uid_maps = mysql:/etc/postfix/mysql-virtual_uids.cf
  7. virtual_gid_maps = mysql:/etc/postfix/mysql-virtual_gids.cf
  8. sender_bcc_maps = proxy:mysql:/etc/postfix/mysql-virtual_outgoing_bcc.cf
  9. smtpd_sasl_auth_enable = yes
  10. broken_sasl_auth_clients = yes
  11. smtpd_sasl_authenticated_header = yes
  12. smtpd_restriction_classes = greylisting
  13. greylisting = check_policy_service inet:127.0.0.1:10023
  14. smtpd_recipient_restrictions =
  15. check_policy_service inet:127.0.0.1:10031,
  16. permit_mynetworks,
  17. permit_sasl_authenticated,
  18. reject_unauth_destination,
  19. check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf,
  20. reject_rbl_client zen.spamhaus.org,
  21. check_recipient_access mysql:/etc/postfix/mysql-virtual_policy_greylist.cf
  22. smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10031
  23. smtpd_use_tls = yes
  24. smtpd_tls_security_level = may
  25. smtpd_tls_cert_file = /etc/postfix/ssl/server.example.com.crt
  26. smtpd_tls_key_file = /etc/postfix/ssl/server.example.com.key
  27. smtpd_tls_CAfile = /etc/postfix/ssl/server.example.com.ca-bundle
  28. transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
  29. relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
  30. relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
  31. smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql-virtual_sender_login_maps.cf
  32. proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $sender_bcc_maps $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $smtpd_sender_login_maps
  33. smtpd_helo_required = yes
  34. smtpd_helo_restrictions =
  35. permit_sasl_authenticated,
  36. permit_mynetworks,
  37. check_helo_access regexp:/etc/postfix/helo_access,
  38. reject_invalid_hostname,
  39. reject_non_fqdn_hostname,
  40. check_helo_access regexp:/etc/postfix/blacklist_helo
  41. smtpd_sender_restrictions =
  42. check_sender_access regexp:/etc/postfix/tag_as_originating.re,
  43. permit_mynetworks,
  44. permit_sasl_authenticated,
  45. check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf,
  46. check_sender_access regexp:/etc/postfix/tag_as_foreign.re
  47. smtpd_client_restrictions =
  48. check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
  49. smtpd_client_message_rate_limit = 100
  50. maildrop_destination_concurrency_limit = 1
  51. maildrop_destination_recipient_limit = 1
  52. virtual_transport = dovecot
  53. mime_header_checks = regexp:/etc/postfix/mime_header_checks
  54. nested_header_checks = regexp:/etc/postfix/nested_header_checks
  55. body_checks = regexp:/etc/postfix/body_checks
  56. smtp_tls_security_level = may
  57. smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
  58. smtpd_tls_protocols = !SSLv2,!SSLv3
  59. smtp_tls_protocols = !SSLv2,!SSLv3
  60. smtpd_tls_exclude_ciphers = RC4, aNULL
  61. smtp_tls_exclude_ciphers = RC4, aNULL
  62. myhostname = server.example.com
  63. mynetworks = 127.0.0.0/8 [::1]/128
  64. dovecot_destination_recipient_limit = 1
  65. smtpd_sasl_type = dovecot
  66. smtpd_sasl_path = private/auth
  67. content_filter = amavis:[127.0.0.1]:10024
  68. receive_override_options = no_address_mappings
  69. bounce_template_file = /etc/postfix/bounce.cf
  70. mailbox_size_limit = 0
  71. message_size_limit = 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement