- anvil_rate_time_unit = 60s
- anvil_status_update_time = 120s
- broken_sasl_auth_clients = yes
- command_directory = /usr/local/sbin
- config_directory = /usr/local/etc/postfix
- content_filter = smtp-amavis:[x.x.x.x]:xxxx
- daemon_directory = /usr/local/libexec/postfix
- debug_peer_level = 2
- default_process_limit = 300
- disable_vrfy_command = yes
- home_mailbox = Maildir/
- inet_interfaces = all
- local_recipient_maps = $virtual_mailbox_maps
- local_transport = virtual
- mail_owner = postfix
- manpage_directory = /usr/local/man
- message_size_limit = 20480000
- mydestination = $mydomain, localhost.$mydomain, localhost, x.$mydomain, xx.$mydomain, xxx.$mydomain,
- mydomain = xxx.xx
- mynetworks = 127.0.0.0/24, x.x.x.x/xx, x.x.x.x/xx
- myorigin = $mydomain
- readme_directory = no
- recipient_delimiter = +
- relay_domains = $mydomain
- sample_directory = /usr/local/etc/postfix
- smtp_tls_note_starttls_offer = yes
- smtp_use_tls = yes
- smtpd_client_connection_rate_limit = 10
- smtpd_client_event_limit_exceptions =
- smtpd_client_message_rate_limit = 50
- smtpd_etrn_restrictions = permit_mynetworks, reject
- smtpd_helo_required = yes
- smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_sender, reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_invalid_hostname, reject_non_fqdn_hostname, reject_rbl_client bl.spamcop.net, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client opm.blitzed.org, reject_rbl_client list.dsbl.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client dul.dnsbl.sorbs.net, reject_unknown_sender_domain, reject_unauth_destination, check_policy_service unix:private/policy, permit
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_local_domain = $myhostname
- smtpd_sasl_security_options = noanonymous
- smtpd_tls_CAfile = /xxx/xxx.pem
- smtpd_tls_cert_file = /xxx/xxx.pem
- smtpd_tls_key_file = /xxx/xxx.pem
- smtpd_tls_loglevel = 1
- smtpd_tls_received_header = yes
- smtpd_tls_session_cache_timeout = 3600s
- smtpd_use_tls = yes
- strict_rfc821_envelopes = yes
- tls_random_source = dev:/dev/urandom
- transport_maps = mysql:/xxx/xxx.cnf
- unknown_local_recipient_reject_code = 550
- virtual_alias_maps = mysql:/xxx/xxx.cnf
- virtual_gid_maps = mysql:/xxx/xxx.cnf
- virtual_mailbox_base = /zzz/zzz/zzz/zzz
- virtual_mailbox_maps = mysql:/xxx/xxx.cnf
- virtual_uid_maps = mysql:/xxx/xxx.cnf