Skip to content

fix(mail): disable TLS on amavis loopback transport and remove wrappermode on port 587 relay - #477

Merged
Hydralerne merged 3 commits into
oblien:feat/bugfix-batch-2026-09-16from
farrasrayhand:fix/postfix-amavis-tls
Sep 16, 2026
Merged

Hydralerne merged 3 commits into
oblien:feat/bugfix-batch-2026-09-16from
farrasrayhand:fix/postfix-amavis-tls

Conversation

@farrasrayhand

@farrasrayhand farrasrayhand commented Aug 7, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #392. Relay changes from implicit TLS on port 465 to STARTTLS on port 587 now clear wrapper mode while retaining mandatory relay encryption. The loopback Amavis transport explicitly disables both TLS and wrapper mode, so selecting an implicit-TLS external relay cannot defer inbound mail.

The repair runs before credential changes on both legacy-host and container engines, and a failure stops the update. The mail image also repairs existing bind-mounted Postfix configurations on every boot; new installs carry the same overrides.

Validation: 62 mail regression cases pass; four new cases fail against main. A real Debian Postfix probe reproduced the main-branch Amavis deferral, delivered the queued message after running the production repair, verified idempotence, and confirmed an external relay without STARTTLS still receives no plaintext message. Shell syntax and API TypeScript checks pass. Targeting the bug integration branch for #892.

@Hydralerne
Hydralerne changed the base branch from main to feat/bugfix-batch-2026-09-16 September 16, 2026 03:26
@Hydralerne
Hydralerne merged commit da95163 into oblien:feat/bugfix-batch-2026-09-16 Sep 16, 2026
7 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants