Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias_database = hash:/etc/aliases
- alias_maps = hash:/etc/aliases
- allow_min_user = no
- append_dot_mydomain = no
- biff = no
- bounce_queue_lifetime = 6h
- broken_sasl_auth_clients = yes
- config_directory = /etc/postfix
- content_filter = smtp-amavis:[127.0.0.1]:10024
- default_process_limit = 500
- delay_warning_time = 0h
- disable_vrfy_command = yes
- dovecot_destination_recipient_limit = 1
- enable_original_recipient = no
- home_mailbox = Maildir/
- inet_interfaces = all
- inet_protocols = ipv4
- mailbox_size_limit = 0
- maximal_backoff_time = 4000s
- maximal_queue_lifetime = 2d
- message_size_limit = 104857600
- milter_default_action = accept
- milter_protocol = 2
- minimal_backoff_time = 300s
- mydestination = $myhostname, localhost.$mydomain $mydomain
- mydomain = mail1.mydomain.com
- myhostname = mail1.mydomain.com
- mynetworks = 127.0.0.0/8
- myorigin = mail1.mydomain.com
- postscreen_access_list = permit_mynetworks, cidr:/etc/postfix/postscreen_access.cidr
- postscreen_dnsbl_action = enforce
- postscreen_dnsbl_sites = zen.spamhaus.org*2 bl.spamcop.net*1 b.barracudacentral.org*1
- postscreen_dnsbl_threshold = 2
- postscreen_greet_action = enforce
- postscreen_greet_banner =
- postscreen_upstream_proxy_protocol = haproxy
- 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
- queue_run_delay = 15m
- readme_directory = /usr/share/doc/postfix-2.10.1/README_FILES
- recipient_bcc_maps = proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/recipient_bcc_maps_domain.cf
- recipient_canonical_classes = envelope_recipient
- recipient_canonical_maps = hash:/etc/postfix/pfix-no-srs.cf, tcp:127.0.0.1:10002
- recipient_delimiter = +
- relay_domains = $mydestination, proxy:mysql:/etc/postfix/mysql/relay_domains.cf
- sender_bcc_maps = proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_user.cf, proxy:mysql:/etc/postfix/mysql/sender_bcc_maps_domain.cf
- sender_canonical_classes = envelope_sender
- sender_canonical_maps = hash:/etc/postfix/pfix-no-srs.cf, tcp:127.0.0.1:10001
- smtp_connection_cache_on_demand = yes
- smtp_connection_cache_time_limit = 10s
- smtp_data_init_timeout = 180s
- smtp_data_xfer_timeout = 300s
- smtp_tls_CAfile = $smtpd_tls_CAfile
- smtp_tls_loglevel = 0
- smtp_tls_note_starttls_offer = yes
- smtp_tls_security_level = may
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- smtpd_banner = $myhostname ESMTP $mail_name
- smtpd_data_restrictions = reject_unauth_pipelining
- smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10040 check_policy_service inet:127.0.0.1:7777
- smtpd_hard_error_limit = 150
- smtpd_helo_required = yes
- 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
- smtpd_policy_service_timeout = 400s
- 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
- smtpd_reject_unlisted_recipient = yes
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_local_domain =
- smtpd_sasl_path = private/dovecot-auth
- smtpd_sasl_security_options = noanonymous
- smtpd_sasl_type = dovecot
- smtpd_sender_login_maps = proxy:mysql:/etc/postfix/mysql/sender_login_maps.cf
- smtpd_sender_restrictions = permit_mynetworks, reject_unknown_sender_domain, reject_unlisted_sender, reject_sender_login_mismatch, permit_sasl_authenticated
- smtpd_soft_error_limit = 50
- smtpd_tls_CAfile = /etc/ssl/ca-bundle.crt
- smtpd_tls_auth_only = no
- smtpd_tls_cert_file = /etc/ssl/zenbox.crt
- smtpd_tls_key_file = /etc/ssl/zenbox.key
- smtpd_tls_loglevel = 0
- smtpd_tls_security_level = may
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtpd_use_tls = yes
- tls_random_source = dev:/dev/urandom
- virtual_alias_expansion_limit = 2500
- 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
- virtual_gid_maps = static:2000
- virtual_mailbox_base = /home/vmail
- virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_domains.cf
- virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql/virtual_mailbox_maps.cf
- virtual_minimum_uid = 2000
- virtual_transport = lmtp:unix:private/dovecot-lmtp
- virtual_uid_maps = static:2000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement