Skip to content

Your transport boundary

The connection you actually observe provides different evidence from remote Received claims.

Setup

Prepare your values and Debian packages. CLI tests use only your local test files and configuration.

Configure Postfix and TLS. Inspect your own server logs for the specific connection. Do not infer encryption of all earlier hops from remote headers.

Test

set -euo pipefail
. /root/mailserver.env
swaks --server 127.0.0.1 --port 25 --tls --quit-after STARTTLS --timeout 15
postconf smtpd_tls_security_level smtpd_tls_cert_file
echo 'Local STARTTLS test completed; earlier hops remain unconfirmed.'

This CLI test confirms the local behavior described above. For production, send your own message using the actual client and MTA through the real sending route and verify it at a recipient you control.