History log of /plugin/smtp/_test/pretest.sh (Results 1 – 2 of 2)
Revision Date Author Comments
# 30b0aec1 28-Jun-2026 Andreas Gohr <andi@splitbrain.org>

Add option to ignore the SMTP server's certificate

New smtp_allow_insecure config option that, when enabled, makes the mailer
skip TLS certificate verification, allowing SMTP servers with self-signe

Add option to ignore the SMTP server's certificate

New smtp_allow_insecure config option that, when enabled, makes the mailer
skip TLS certificate verification, allowing SMTP servers with self-signed or
otherwise untrusted certificates to be used (issue #32).

The integration test now also covers STARTTLS against a self-signed
certificate, and the pretest hook starts Mailpit with a generated cert so
that test can run.

Closes #32

show more ...


# 8f9f7168 28-Jun-2026 Andreas Gohr <andi@splitbrain.org>

Add Mailpit based SMTP integration test

Delivers a real mail through the plugin to a Mailpit server and verifies
delivery (From/To/Cc, envelope Bcc and body) via the Mailpit HTTP API.

The test only

Add Mailpit based SMTP integration test

Delivers a real mail through the plugin to a Mailpit server and verifies
delivery (From/To/Cc, envelope Bcc and body) via the Mailpit HTTP API.

The test only runs when MAILPIT_HOST is set, otherwise it is skipped so
the regular test suite is unaffected. In CI a _test/pretest.sh hook starts
Mailpit and exports the connection details, so the test runs as part of the
normal plugin_smtp group without a separate workflow job.

show more ...