Skip to content

Commit

Permalink
- [docker](Makefile) Use alpine:3.21 (postfix:3.9.1 dovecot:2.3.21.1).
Browse files Browse the repository at this point in the history
  • Loading branch information
mlan committed Dec 7, 2024
1 parent b9ae62f commit f0256a1
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# 1.0.6

- [docker](Makefile) Use alpine:3.21 (postfix:3.9.1 dovecot:2.3.21.1).

# 1.0.5

- [docker](Makefile) Use alpine:3.20 (postfix:3.9.0 dovecot:2.3.21).
- [docker](Makefile) Use alpine:3.20 (postfix:3.9.0 dovecot:2.3.21.1).
- [github](.github/workflows/testimage.yml) Now use Node.js 20 `actions/checkout@v4`.
- [demo](demo) Fixed target `*-apk_list`.

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

-include *.mk

BLD_ARG ?= --build-arg DIST=alpine --build-arg REL=3.20
BLD_ARG ?= --build-arg DIST=alpine --build-arg REL=3.21
BLD_REPO ?= mlan/postfix
BLD_VER ?= latest
BLD_TGT ?= full
Expand Down
18 changes: 17 additions & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Road map

## Postfix configuration
### TLS Forward Secrecy

The built-in default Postfix FFDHE group is a 2048-bit group as of Postfix 3.1. You can optionally generate non-default Postfix SMTP server FFDHE parameters for possibly improved security against pre-computation attacks, but this is not necessary or recommended. Just leave "smtpd_tls_dh1024_param_file" at its default empty value. [TLS Forward Secrecy in Postfix](https://www.postfix.org/FORWARD_SECRECY_README.html)

```sh
/etc/postfix/main.cf: support for parameter "smtpd_tls_dh1024_param_file" will be removed; instead, do not specify (leave at default)
```
### Enable TLS

Dont use `smtpd_use_tls` anymore. `smtpd_tls_security_level=may` is sufficient.

```sh
/etc/postfix/main.cf: support for parameter "smtpd_use_tls" will be removed; instead, specify "smtpd_tls_security_level"
```

## PostSRSd

Arrange optional configuration of the [PostSRSd](https://github.com/roehling/postsrsd) Sender Rewriting Scheme (SRS) via TCP-based lookup tables for Postfix.
Expand All @@ -17,4 +33,4 @@ Don't make DOCKER_ACME_SSL_DIR=/etc/ssl/acme persistent. We will remove all old
Need to fix runit script for postfix. It does not kill all children.
the reason is that we don't let `runsvdir` become pid=1 and `postfix startup-fg`
checks for pid=1 and since it isn't start `master -s` instead of `exec master -i`
, see `/usr/libexec/postfix/postfix-script`.
, see `/usr/libexec/postfix/postfix-script`.
2 changes: 1 addition & 1 deletion src/postfix/entry.d/10-postfix-common
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ postfix_activate_tls_cert() {
if ([ -n "$SMTPD_TLS_CERT_FILE" ] || [ -n "$SMTPD_TLS_ECCERT_FILE" ] || \
[ -n "$SMTPD_TLS_DCERT_FILE" ] || [ -n "$SMTPD_TLS_CHAIN_FILES" ]); then
dc_log 5 "[postfix] Activating incoming tls."
postconf -e smtpd_use_tls=yes
# postconf -e smtpd_use_tls=yes # use only smtpd_tls_security_level
postconf -e smtpd_tls_security_level=may
postconf -e smtpd_tls_auth_only=yes
fi
Expand Down

0 comments on commit f0256a1

Please sign in to comment.