Skip to content

Commit

Permalink
fix(postfix): remove deprecated smtpd_tls_dh1024_param_file from main…
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl authored Jan 22, 2025
1 parent 96666be commit 56f124a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 20 deletions.
1 change: 0 additions & 1 deletion imageroot/systemd/user/dhgen.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ Description=Diffie-Hellman group generator
[Service]
Type=oneshot
ExecStart=runagent generate-dhpem
ExecStartPost=-runagent install-certificate postfix
ExecStartPost=-runagent install-certificate dovecot
WorkingDirectory=%S/state
SyslogIdentifier=%N
1 change: 0 additions & 1 deletion postfix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ relevant:

- `server.pem`, server TLS certificate
- `server.key`, server certificate private key
- `dh.pem`, Diffie-Hellman group

### `reload-config`

Expand Down
13 changes: 0 additions & 13 deletions postfix/etc/ssl/postfix/dh.pem

This file was deleted.

4 changes: 0 additions & 4 deletions postfix/usr/local/bin/import-certificate
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ trap 'rm -rf ${tmpdir}' EXIT
cd "${tmpdir}"
tar x -o -f -

if [ -s dh.pem ]; then
install -o root -g root -m 644 dh.pem "${dest}"/dh.pem
fi

if [ ! -s server.pem ] || [ ! -s server.key ]; then
# empty file: abort
exit 3
Expand Down
1 change: 0 additions & 1 deletion postfix/usr/local/lib/templates/main.cf
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ smtp_tls_security_level = may
smtpd_tls_loglevel = 1
smtpd_tls_security_level = may
smtpd_tls_chain_files = /etc/ssl/postfix/fullchain.pem
smtpd_tls_dh1024_param_file = /etc/ssl/postfix/dh.pem
smtpd_tls_received_header = yes
smtpd_tls_auth_only = yes

Expand Down

0 comments on commit 56f124a

Please sign in to comment.