| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 | # --------------------------------------------------------------------------# Please create a file "extra.cf" for persistent overrides to main.cf# --------------------------------------------------------------------------biff = noappend_dot_mydomain = nosmtpd_tls_cert_file = /etc/ssl/mail/cert.pemsmtpd_tls_key_file = /etc/ssl/mail/key.pemtls_server_sni_maps = hash:/opt/postfix/conf/sni.mapsmtpd_tls_received_header = yessmtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scachesmtp_tls_session_cache_database = btree:${data_directory}/smtp_scachesmtpd_relay_restrictions = permit_mynetworks,  permit_sasl_authenticated,  defer_unauth_destination# alias maps are auto-generated in postfix.sh on startupalias_maps = hash:/etc/aliasesalias_database = hash:/etc/aliasesrelayhost =mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 [fe80::]/10 [fc00::]/7mailbox_size_limit = 0recipient_delimiter = +inet_interfaces = allinet_protocols = allbounce_queue_lifetime = 1dbroken_sasl_auth_clients = yesdisable_vrfy_command = yesmaximal_backoff_time = 1800smaximal_queue_lifetime = 5ddelay_warning_time = 4hmessage_size_limit = 104857600milter_default_action = acceptmilter_protocol = 6minimal_backoff_time = 300splaintext_reject_code = 550postscreen_access_list = permit_mynetworks,  cidr:/opt/postfix/conf/custom_postscreen_whitelist.cidr,  cidr:/opt/postfix/conf/postscreen_access.cidr,  tcp:127.0.0.1:10027postscreen_bare_newline_enable = nopostscreen_blacklist_action = droppostscreen_cache_cleanup_interval = 24hpostscreen_cache_map = proxy:btree:$data_directory/postscreen_cachepostscreen_dnsbl_action = enforcepostscreen_dnsbl_sites = wl.mailspike.net=127.0.0.[18;19;20]*-2  hostkarma.junkemailfilter.com=127.0.0.1*-2  list.dnswl.org=127.0.[0..255].0*-2  list.dnswl.org=127.0.[0..255].1*-4  list.dnswl.org=127.0.[0..255].2*-6  list.dnswl.org=127.0.[0..255].3*-8  ix.dnsbl.manitu.net*2  bl.spamcop.net*2  bl.suomispam.net*2  hostkarma.junkemailfilter.com=127.0.0.2*3  hostkarma.junkemailfilter.com=127.0.0.4*2  hostkarma.junkemailfilter.com=127.0.1.2*1  backscatter.spameatingmonkey.net*2  bl.ipv6.spameatingmonkey.net*2  bl.spameatingmonkey.net*2  b.barracudacentral.org=127.0.0.2*7  bl.mailspike.net=127.0.0.2*5  bl.mailspike.net=127.0.0.[10;11;12]*4  dnsbl.sorbs.net=127.0.0.10*8  dnsbl.sorbs.net=127.0.0.5*6  dnsbl.sorbs.net=127.0.0.7*3  dnsbl.sorbs.net=127.0.0.8*2  dnsbl.sorbs.net=127.0.0.6*2  dnsbl.sorbs.net=127.0.0.9*2  zen.spamhaus.org=127.0.0.[10;11]*8  zen.spamhaus.org=127.0.0.[4..7]*6  zen.spamhaus.org=127.0.0.3*4  zen.spamhaus.org=127.0.0.2*3postscreen_dnsbl_threshold = 6postscreen_dnsbl_ttl = 5mpostscreen_greet_action = enforcepostscreen_greet_banner = $smtpd_bannerpostscreen_greet_ttl = 2dpostscreen_greet_wait = 3spostscreen_non_smtp_command_enable = nopostscreen_pipelining_enable = noproxy_read_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_sasl_passwd_maps_transport_maps.cf,  proxy:mysql:/opt/postfix/conf/sql/mysql_tls_enforce_in_policy.cf,  $sender_dependent_default_transport_maps,  $smtp_tls_policy_maps,  $local_recipient_maps,  $mydestination,  $virtual_alias_maps,  $virtual_alias_domains,  $virtual_mailbox_maps,  $virtual_mailbox_domains,  $relay_recipient_maps,  $relay_domains,  $canonical_maps,  $sender_canonical_maps,  $sender_bcc_maps,  $recipient_bcc_maps,  $recipient_canonical_maps,  $relocated_maps,  $transport_maps,  $mynetworks,  $smtpd_sender_login_maps,  $smtp_sasl_password_mapsqueue_run_delay = 300srelay_domains = proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_relay_domain_maps.cfrelay_recipient_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_relay_recipient_maps.cfsender_dependent_default_transport_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_sender_dependent_default_transport_maps.cfsmtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crtsmtp_tls_cert_file = /etc/ssl/mail/cert.pemsmtp_tls_key_file = /etc/ssl/mail/key.pemsmtp_tls_loglevel = 1smtp_dns_support_level = dnssecsmtp_tls_security_level = danesmtpd_data_restrictions = reject_unauth_pipelining, permitsmtpd_delay_reject = yessmtpd_error_sleep_time = 10ssmtpd_hard_error_limit = ${stress?1}${stress:5}smtpd_helo_required = yessmtpd_proxy_timeout = 600ssmtpd_recipient_restrictions = permit_sasl_authenticated,  permit_mynetworks,  check_recipient_access proxy:mysql:/opt/postfix/conf/sql/mysql_tls_enforce_in_policy.cf,  reject_invalid_helo_hostname,  reject_unauth_destinationsmtpd_sasl_auth_enable = yessmtpd_sasl_authenticated_header = yessmtpd_sasl_path = inet:dovecot:10001smtpd_sasl_type = dovecotsmtpd_sender_login_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_sender_acl.cfsmtpd_sender_restrictions = reject_authenticated_sender_login_mismatch,  permit_mynetworks,  permit_sasl_authenticated,  reject_unlisted_sender,  reject_unknown_sender_domainsmtpd_soft_error_limit = 3smtpd_tls_auth_only = yessmtpd_tls_dh1024_param_file = /etc/ssl/mail/dhparams.pemsmtpd_tls_eecdh_grade = autosmtpd_tls_exclude_ciphers = ECDHE-RSA-RC4-SHA, RC4, aNULL, DES-CBC3-SHA, ECDHE-RSA-DES-CBC3-SHA, EDH-RSA-DES-CBC3-SHAsmtpd_tls_loglevel = 1# Mandatory protocols and ciphers are used when a connections is enforced to use TLS# Does _not_ apply to enforced incoming TLS settings per mailboxsmtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1lmtp_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1smtpd_tls_mandatory_ciphers = highsmtp_tls_protocols = !SSLv2, !SSLv3lmtp_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1smtpd_tls_protocols = !SSLv2, !SSLv3smtpd_tls_security_level = maytls_preempt_cipherlist = yestls_ssl_options = NO_COMPRESSION, NO_RENEGOTIATIONvirtual_alias_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_alias_maps.cf,  proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_resource_maps.cf,  proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_spamalias_maps.cf,  proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_alias_domain_maps.cfvirtual_gid_maps = static:5000virtual_mailbox_base = /var/vmail/virtual_mailbox_domains = proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_domains_maps.cfrecipient_bcc_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_recipient_bcc_maps.cfsender_bcc_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_sender_bcc_maps.cfrecipient_canonical_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_recipient_canonical_maps.cfrecipient_canonical_classes = envelope_recipientvirtual_mailbox_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_virtual_mailbox_maps.cfvirtual_minimum_uid = 104virtual_transport = lmtp:inet:dovecot:24virtual_uid_maps = static:5000smtpd_milters = inet:rspamd:9900non_smtpd_milters = inet:rspamd:9900milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen}mydestination = localhost.localdomain, localhostsmtp_address_preference = anysmtp_sender_dependent_authentication = yessmtp_sasl_auth_enable = yessmtp_sasl_password_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_sasl_passwd_maps_sender_dependent.cfsmtp_sasl_security_options =smtp_sasl_mechanism_filter = plain, loginsmtp_tls_policy_maps = proxy:mysql:/opt/postfix/conf/sql/mysql_tls_policy_override_maps.cfsmtp_header_checks = pcre:/opt/postfix/conf/anonymize_headers.pcremail_name = Postcow# local_transport map catches local destinations and prevents routing local dests when the next map would route "*"# Use custom_transport.pcre for custom transportstransport_maps = pcre:/opt/postfix/conf/custom_transport.pcre,  pcre:/opt/postfix/conf/local_transport,  proxy:mysql:/opt/postfix/conf/sql/mysql_relay_ne.cf,  proxy:mysql:/opt/postfix/conf/sql/mysql_transport_maps.cfsmtp_sasl_auth_soft_bounce = nopostscreen_discard_ehlo_keywords = silent-discard, dsncompatibility_level = 2smtputf8_enable = yes# Define protocols for SMTPS and submission servicesubmission_smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1smtps_smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1# DO NOT EDIT ANYTHING BELOW ## User overrides #
 |