Merge pull request #99 from 5nafu/master
Added smtpd_relay_restrictions to all postfix configurations, fixes #1220
This commit is contained in:
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (512MB)
|
# Maximum size of Message in bytes (512MB)
|
||||||
message_size_limit = 536870912
|
message_size_limit = 536870912
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client
|
reject_unknown_client
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (512MB)
|
# Maximum size of Message in bytes (512MB)
|
||||||
message_size_limit = 536870912
|
message_size_limit = 536870912
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,7 @@ smtpd_helo_required = no
|
|||||||
smtpd_helo_restrictions =
|
smtpd_helo_restrictions =
|
||||||
strict_rfc821_envelopes = no
|
strict_rfc821_envelopes = no
|
||||||
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
||||||
|
smtpd_relay_restrictions =
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
smtpd_sasl_local_domain = $myhostname
|
smtpd_sasl_local_domain = $myhostname
|
||||||
smtpd_sasl_security_options = noanonymous
|
smtpd_sasl_security_options = noanonymous
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -53,6 +53,7 @@ smtpd_helo_required = no
|
|||||||
smtpd_helo_restrictions =
|
smtpd_helo_restrictions =
|
||||||
strict_rfc821_envelopes = no
|
strict_rfc821_envelopes = no
|
||||||
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
|
||||||
|
smtpd_relay_restrictions =
|
||||||
smtpd_sasl_auth_enable = yes
|
smtpd_sasl_auth_enable = yes
|
||||||
smtpd_sasl_local_domain = $myhostname
|
smtpd_sasl_local_domain = $myhostname
|
||||||
smtpd_sasl_security_options = noanonymous
|
smtpd_sasl_security_options = noanonymous
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
@@ -36,6 +36,11 @@ smtpd_sender_restrictions = permit_mynetworks,
|
|||||||
smtpd_client_restrictions = permit_mynetworks,
|
smtpd_client_restrictions = permit_mynetworks,
|
||||||
permit_sasl_authenticated,
|
permit_sasl_authenticated,
|
||||||
reject_unknown_client_hostname
|
reject_unknown_client_hostname
|
||||||
|
|
||||||
|
# Postfix 2.10 requires this option. Postfix < 2.10 ignores this.
|
||||||
|
# The option is intentionally left empty.
|
||||||
|
smtpd_relay_restrictions =
|
||||||
|
|
||||||
# Maximum size of Message in bytes (50MB)
|
# Maximum size of Message in bytes (50MB)
|
||||||
message_size_limit = 52428800
|
message_size_limit = 52428800
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user