[Postfix] Allow to relay only non-local mailboxes

This commit is contained in:
andryyy
2020-04-03 20:39:53 +02:00
parent fd73bbc201
commit ef0b40085b
10 changed files with 90 additions and 26 deletions

View File

@@ -186,6 +186,7 @@ mail_name = Postcow
# Use custom_transport.pcre for custom transports
transport_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.cf
smtp_sasl_auth_soft_bounce = no
postscreen_discard_ehlo_keywords = silent-discard, dsn