Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- smtpd_banner = $myhostname
- biff = no
- # appending .domain is the MUA's job.
- append_dot_mydomain = no
- # Uncomment the next line to generate "delayed mail" warnings
- delay_warning_time = 4h
- readme_directory = no
- # TLS parameters
- #smtpd_tls_cert_file = /etc/ssl/certs/ssl-mail.pem
- #smtpd_tls_key_file = /etc/ssl/private/ssl-mail.key
- smtpd_use_tls = yes
- smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
- smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
- # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
- # information on enabling SSL in the smtp client.
- alias_maps = hash:/etc/aliases
- alias_database = hash:/etc/aliases
- #myorigin = /etc/mailname
- relay_domains =
- relayhost =
- local_recipient_maps =
- #mynetworks = 127.0.0.0/8
- #[::ffff:127.0.0.0]/104 [::1]/128
- #mynetworks = 127.0.0.0/8, proxy:mysql:/etc/postfix/mysql-mynetworks.cf
- mynetworks_style = host
- mailbox_command =
- mailbox_size_limit = 0512000000
- recipient_delimiter = +
- inet_interfaces = all
- inet_protocols = all
- home_mailbox = Maildir/
- smtpd_sasl_auth_enable = yes
- #smtpd_sasl_type = dovecot
- #smtpd_sasl_path = private/dovecot-auth
- smtpd_sasl_path = smtpd
- smtpd_sasl_application_name = smtpd
- smtpd_sasl_security_options = noanonymous noplaintext
- #smtpd_sasl_authenticated_header = yes
- #smtpd_sasl_security_options = noanonymous
- smtpd_sasl_local_domain = $myhostname
- broken_sasl_auth_clients = yes
- #smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, regexp:/etc/postfix/helo.regexp, permit
- smtpd_recipient_restrictions = permit_sasl_authenticated,reject_invalid_hostname,reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, permit_mynetworks,reject_unauth_destination, reject_rbl_client cbl.abuseat.org, reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net, reject_rhsbl_sender dsn.rfc-ignorant.org
- smtpd_helo_restrictions = permit_mynetworks, reject_invalid_hostname, reject_unknown_helo_hostname, regexp:/etc/postfix/helo.regexp, permit
- smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
- smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsb1.njab1.org,permit_mynetworks, permit_sasl_authenticated, permit
- smtpd_data_restrictions = reject_unauth_pipelining
- smtp_use_tls = yes
- smtpd_use_tls = yes
- smtpd_tls_received_header = yes
- smtpd_tls_mandatory_protocols = SSLv3, TLSv1
- smtpd_tls_mandatory_ciphers = medium
- smtpd_tls_auth_only = yes
- tls_random_source = dev:/dev/urandom
- maximal_queue_lifetime = 7d
- minimal_backoff_time = 1000s
- maximal_backoff_time = 8000s
- smtp_helo_timeout = 60s
- smtpd_recipient_limit = 16
- smtpd_soft_error_limit = 3
- smtpd_hard_error_limit = 12
- smtpd_delay_reject = yes
- smtpd_helo_required = yes
- disable_vrfy_command = yes
- strict_rfc821_envelopes = yes
- unknown_address_reject_code = 554
- unknown_hostname_reject_code = 554
- unknown_client_reject_code = 554
- smtp_tls_note_starttls_offer = yes
- smtpd_tls_key_file = /etc/postfix/ssl/smtpd.pem
- smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.pem
- smtpd_tls_CAfile = /etc/postfix/ssl/smtpd.pem
- smtpd_tls_loglevel = 1
- smtpd_tls_received_header = yes
- smtpd_tls_session_cache_timeout = 3600s
- tls_random_source = dev:/dev/urandom
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement