Skip to content

Commit 474b846

Browse files
committed
enable smtpd_reject_unlisted_sender and other stricter defaults
1 parent 8c8acac commit 474b846

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

install/tpl/debian_postfix.conf.master

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,8 @@ smtpd_tls_protocols = !SSLv2,!SSLv3
4343
smtp_tls_protocols = !SSLv2,!SSLv3
4444
smtpd_tls_exclude_ciphers = RC4, aNULL
4545
smtp_tls_exclude_ciphers = RC4, aNULL
46+
strict_rfc821_envelopes = yes
47+
disable_vrfy_command = yes
48+
allow_percent_hack = no
49+
swap_bangpath = no
50+
smtpd_reject_unlisted_sender = yes

install/tpl/fedora_postfix.conf.master

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,8 @@ smtpd_tls_protocols = !SSLv2,!SSLv3
4040
smtp_tls_protocols = !SSLv2,!SSLv3
4141
smtpd_tls_exclude_ciphers = RC4, aNULL
4242
smtp_tls_exclude_ciphers = RC4, aNULL
43+
strict_rfc821_envelopes = yes
44+
disable_vrfy_command = yes
45+
allow_percent_hack = no
46+
swap_bangpath = no
47+
smtpd_reject_unlisted_sender = yes

install/tpl/gentoo_postfix.conf.master

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,8 @@ smtpd_tls_protocols = !SSLv2,!SSLv3
3939
smtp_tls_protocols = !SSLv2,!SSLv3
4040
smtpd_tls_exclude_ciphers = RC4, aNULL
4141
smtp_tls_exclude_ciphers = RC4, aNULL
42+
strict_rfc821_envelopes = yes
43+
disable_vrfy_command = yes
44+
allow_percent_hack = no
45+
swap_bangpath = no
46+
smtpd_reject_unlisted_sender = yes

install/tpl/opensuse_postfix.conf.master

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,8 @@ smtpd_tls_protocols = !SSLv2,!SSLv3
4242
smtp_tls_protocols = !SSLv2,!SSLv3
4343
smtpd_tls_exclude_ciphers = RC4, aNULL
4444
smtp_tls_exclude_ciphers = RC4, aNULL
45+
strict_rfc821_envelopes = yes
46+
disable_vrfy_command = yes
47+
allow_percent_hack = no
48+
swap_bangpath = no
49+
smtpd_reject_unlisted_sender = yes

0 commit comments

Comments
 (0)