]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - config/postfix/main.cf
Typo in compilation commands of postfix.
[ipfire-2.x.git] / config / postfix / main.cf
index 34434ce7f886a17c3768e7dd09cd89d7a7a98ae8..9440d91b6aa16d444822c46b960961046436dde2 100644 (file)
@@ -50,3 +50,31 @@ smtpd_banner = $myhostname ESMTP $mail_name ($mail_version)
 
 virtual_alias_maps = mysql:/etc/postfix/mysql-virtual.cf
 sender_canonical_maps = mysql:/etc/postfix/mysql-canonical.cf
+
+smtpd_sasl_type = cyrus
+smtpd_sasl_auth_enable = yes
+smtpd_sasl_security_options = noanonymous
+smtpd_sasl_local_domain = $myhostname
+broken_sasl_auth_clients = yes
+
+#smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
+
+smtpd_helo_required = yes
+mime_header_checks=pcre:/etc/postfix/body_checks
+smtpd_recipient_restrictions =
+            reject_invalid_hostname,
+            #reject_non_fqdn_hostname,
+            reject_non_fqdn_sender,
+            reject_non_fqdn_recipient,
+            reject_unknown_sender_domain,
+            reject_unknown_recipient_domain,
+            reject_unauth_pipelining,
+            permit_mynetworks,
+            permit_sasl_authenticated,
+            reject_unauth_destination,
+            reject_rbl_client zombie.dnsbl.sorbs.net,
+            reject_rbl_client relays.ordb.org,
+            reject_rbl_client opm.blitzed.org,
+            reject_rbl_client list.dsbl.org,
+            reject_rbl_client sbl.spamhaus.org,
+            permit