Fix mail bouncing when rejected by clearnet relay
This commit is contained in:
@ -16,9 +16,10 @@ default_transport = relay
|
||||
relayhost = [10.8.0.1]
|
||||
inet_interfaces = 127.0.0.1
|
||||
smtp_sasl_auth_enable=yes
|
||||
smtp_sasl_password_maps = static:MY_USER:MY_PASSWORD
|
||||
smtp_sasl_password_maps = hash:/etc/postfix-clearnet/sasl_password
|
||||
smtp_sasl_security_options = noanonymous
|
||||
mynetworks_style = host
|
||||
ignore_mx_lookup_error = yes
|
||||
canonical_maps = regexp:/etc/postfix-clearnet/canonical
|
||||
smtp_generic_maps = regexp:/etc/postfix-clearnet/canonical
|
||||
transport_maps = hash:/etc/postfix-clearnet/transport
|
||||
|
1
etc/postfix-clearnet/sasl_password
Normal file
1
etc/postfix-clearnet/sasl_password
Normal file
@ -0,0 +1 @@
|
||||
[10.8.0.1] MY_USER:MY_PASSWORD
|
2
etc/postfix-clearnet/transport
Normal file
2
etc/postfix-clearnet/transport
Normal file
@ -0,0 +1,2 @@
|
||||
hosting.danwin1210.me relay:[127.0.0.2]
|
||||
* relay:[10.8.0.1]
|
Reference in New Issue
Block a user