Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into merge-upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
downtownallday committed Mar 23, 2024
2 parents 7e03b65 + 14d0e20 commit 6ade958
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 4 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
CHANGELOG
=========

In Development
--------------

Package updates:

* Roundcube updated to version 1.6.6.
* Nextcloud is updated to version 22.0.12.

Mail:

* Updated postfix's configuration to guard against SMTP smuggling to the long-term fix (https://www.postfix.org/smtp-smuggling.html).

Control Panel:

* Improved reporting of Spamhaus response codes.
* Improved detection of SSH port.
* Fixed an error if last saved status check results were corrupted.
* Other minor fixes.

Other:

* fail2ban is updated to see "HTTP/2.0" requests to munin also.
* Internal improvements to the code to make it more reliable and readable.


Version 67 (December 22, 2023)
------------------------------

Expand Down
12 changes: 9 additions & 3 deletions setup/mail-postfix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,16 @@ tools/editconf.py /etc/postfix/main.cf \
policy-spf_time_limit=3600

# Guard against SMTP smuggling
# This short-term workaround is recommended at https://www.postfix.org/smtp-smuggling.html
# This "long-term" fix is recommended at https://www.postfix.org/smtp-smuggling.html.
# This beecame supported in a backported fix in package version 3.6.4-1ubuntu1.3. It is
# unnecessary in Postfix 3.9+ where this is the default. The "short-term" workarounds
# that we previously had are reverted to postfix defaults (though smtpd_discard_ehlo_keywords
# was never included in a released version of Mail-in-a-Box).
tools/editconf.py /etc/postfix/main.cf -e \
smtpd_data_restrictions= \
smtpd_discard_ehlo_keywords=
tools/editconf.py /etc/postfix/main.cf \
smtpd_data_restrictions=reject_unauth_pipelining \
smtpd_discard_ehlo_keywords="chunking, silent-discard"
smtpd_forbid_bare_newline=normalize

# ### Outgoing Mail

Expand Down
2 changes: 1 addition & 1 deletion tools/editconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

# sanity check
if len(sys.argv) < 3:
print("usage: python3 editconf.py /etc/file.conf [-s] [-w] [-c <CHARACTER>] [-t] NAME=VAL [NAME=VAL ...]")
print("usage: python3 editconf.py /etc/file.conf [-e] [-s] [-w] [-c <CHARACTER>] [-t] NAME=VAL [NAME=VAL ...]")
sys.exit(1)

# parse command line arguments
Expand Down

0 comments on commit 6ade958

Please sign in to comment.