Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- smtpd_banner = $myhostname ESMTP
- biff = no
- append_dot_mydomain = no
- readme_directory = no
- always_add_missing_headers = yes
- smtpd_helo_required = yes
- disable_vrfy_command = yes
- strict_rfc821_envelopes = yes
- smtpd_delay_reject = yes
- allow_percent_hack = no
- swap_bangpath = no
- soft_bounce = no
- message_size_limit = 26214400
- virtual_alias_expansion_limit = 5000
- unknown_address_reject_code = 554
- empty_address_recipient = MAILER-DAEMON@domain.com
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- myhostname = mail.domain.com
- myorigin = /etc/mailname
- mydestination = $myhostname, localhost
- mynetworks = 127.0.0.0/8 89.185.253.148
- mailbox_size_limit = 0
- inet_interfaces = all
- inet_protocols = ipv4
- 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_alias_maps = proxy:mysql:/etc/postfix/mysql/virtual_alias_maps.cf,proxy:mysql:/etc/postfix/mysql/virtual_alias_email_maps.cf
- virtual_uid_maps = static:500
- virtual_gid_maps = static:500
- virtual_transport = defer
- virtual_transport = lmtp:unix:private/dovecot-lmtp
- receive_override_options=no_address_mappings
- alias_maps = hash:/etc/aliases
- # auth
- smtpd_sasl_type = dovecot
- smtpd_sasl_path = private/auth
- smtpd_sasl_auth_enable = yes
- smtpd_sasl_authenticated_header = yes
- smtpd_client_restrictions =
- check_client_access cidr:/etc/postfix/cidr_check_client_access,
- reject_unknown_reverse_client_hostname,
- reject_rbl_client zen.spamhaus.org,
- reject_rbl_client b.barracudacentral.org,
- smtpd_helo_restrictions =
- permit_mynetworks,
- reject_invalid_helo_hostname,
- check_helo_access hash:/etc/postfix/hash_check_helo_access,
- smtpd_recipient_restrictions =
- reject_non_fqdn_sender,
- reject_non_fqdn_recipient,
- reject_unknown_sender_domain,
- reject_unknown_recipient_domain,
- permit_mynetworks,
- permit_sasl_authenticated,
- reject_unauth_destination,
- reject_unlisted_recipient,
- check_recipient_access pcre:/etc/postfix/pcre_check_recipient_checks,
- check_sender_access hash:/etc/postfix/hash_check_sender_checks,
- permit_auth_destination,
- smtpd_data_restrictions =
- reject_unauth_pipelining,
- reject_multi_recipient_bounce,
- smtpd_etrn_restrictions =
- reject
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement