Skip to content

Commit 0c5d34a

Browse files
committed
Postfix/3.7.9 - Fix SMTP smuggling attack
1 parent 748f227 commit 0c5d34a

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@ LABEL maintainer="Ralph Schuster <github@ralph-schuster.eu>"
44
RUN echo "postfix postfix/mailname string mail.example.com" | debconf-set-selections
55
RUN echo "postfix postfix/main_mailer_type string 'Internet Site'" | debconf-set-selections
66

7-
ENV PF_VERSION="3.7.6"
7+
ENV PF_VERSION="3.7.9"
88
ENV PF_REVISION="0"
9-
#ENV PF_PACKAGE="3.7.9-0+deb12u1"
10-
ENV PF_PACKAGE="3.7.6-0+deb12u2"
9+
ENV PF_PACKAGE="3.7.9-0+deb12u1"
1110
RUN export DEBIAN_FRONTEND=noninteractive \
1211
&& PF_VERSION=${PF_PACKAGE} \
1312
&& apt-get update \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Related images:
1414
# Tags
1515
The following versions are available from DockerHub. The image tag matches the Postfix version.
1616

17-
* [3.7.6.0, 3.7.6, 3.7, 3, latest](https://github.com/technicalguru/docker-mailserver-postfix/tree/v3.7.6.0) - [Dockerfile](https://github.com/technicalguru/docker-mailserver-postfix/blob/3.7.6.0/Dockerfile)
17+
* [3.7.9.0, 3.7.9, 3.7, 3, latest](https://github.com/technicalguru/docker-mailserver-postfix/tree/v3.7.9.0) - [Dockerfile](https://github.com/technicalguru/docker-mailserver-postfix/blob/3.7.9.0/Dockerfile)
1818
* [3.5.18.0, 3.5.18, 3.5](https://github.com/technicalguru/docker-mailserver-postfix/tree/v3.5.18.0) - [Dockerfile](https://github.com/technicalguru/docker-mailserver-postfix/blob/3.5.18.0/Dockerfile)
1919
* [3.4.14.0, 3.4.14, 3.4](https://github.com/technicalguru/docker-mailserver-postfix/tree/v3.4.14.0) - [Dockerfile](https://github.com/technicalguru/docker-mailserver-postfix/blob/3.4.14.0/Dockerfile)
2020

etc/postfix/main.cf

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ virtual_mailbox_maps =
148148
## OTHER
149149
##
150150

151+
### SMTP smuggling
152+
smtpd_forbid_bare_newline = yes
153+
smtpd_forbid_bare_newline_exclusions = $mynetworks
154+
151155
### Mailbox size
152156
mailbox_size_limit = 0
153157

0 commit comments

Comments
 (0)