mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-07-16 18:12:53 -04:00
PHPMailer enables SMTPAutoTLS by default, meaning it opportunistically upgrades a plain SMTP connection to STARTTLS whenever the server advertises support for it, regardless of the 'secure' => '' setting documented in config.default.php. Minz_Mailer never read or set $mail->SMTPAutoTLS, so this behaviour could not be turned off, making it impossible to talk to SMTP servers with a self-signed or otherwise untrusted certificate (e.g. a mail server on an internal Docker network) without importing a custom CA. Add a new 'auto_tls' key to the 'smtp' config array, defaulting to true to preserve current behaviour, and wire it through to $mail->SMTPAutoTLS in Minz_Mailer. Document the new option. Fixes #2997 Co-authored-by: Gerard Alvear <gerard.alvear@logiqd.me>
Libraries
SimplePie
FreshRSS uses a forked version of SimplePie, with a number of patches.
See the read-me of our fork.
Updating libraries
Some of the libraries in this folder can be updated semi-automatically by invoking:
cd ./FreshRSS/lib/
composer update --no-autoloader
Remember to read the change-logs, proof-read the changes, preserve possible local patches, add irrelevant files to .gitignore (minimal installation), and test before committing.