[TODO]: Tests - Replace nc
/ openssl
mail sending with swaks
(or similar)
#3728
Labels
area/tests
kind/improvement
Improve an existing feature, configuration file or the documentation
meta/help wanted
The OP requests help from others - chime in! :D
service/postfix
stale-bot/ignore
Indicates that this issue / PR shall not be closed by our stale-checking CI
Description
Up for grabs for anyone who'd like to contribute, no rush :)
smtpd_data_restrictions = reject_unauth_pipelining
to our Postfixmain.cf
. See below section for more info. This change is presently blocked by our test-suite. Hence the need for adopting something likeswaks
.swaks
or similar for sending mail in the test suite, replacingnc
/openssl
for this purpose.nc
usage has mostly been migrated into a helper method.openssl
is used elsewhere when necessary, but would ideally be unified with the helper as a command likeswaks
would handle both use-cases.smtpd_data_restrictions = reject_unauth_pipelining
Reference (review comment plus feedback provides plenty of details on this setting).
smtpd_data_restrictions = reject_unauth_pipelining
, which is standard config for integrating this service with Postfix.main.cf
when this change is introduced.swaks
or similar must replace our current reliance onnc
andopenssl
for sending mail (via raw SMTP commands).Reference (if linked review comment disappears)
This has happened previously, so in interest of not losing the referenced information a screenshot is taken:
Markdown backup:
The text was updated successfully, but these errors were encountered: