On 11/26/22 05:09, Daniel Böhmer wrote:
During startup /var/log/mailman3/mailman.log receives:
Cannot connect to SMTP server localhost on port 25
...
I found this article stating the the SMTP error message might be misleading: https://blog.tfiu.de/mailman3-cannot-connect-to-smtp-server-localhost-on-por...
How to further debug this? What could be wrong with my Mailman3 instance and how to fix it?
The article is relevant and mentions the most likely issue which is lack of permission on one or more message templates.
Everything in Mailman's var/ directory should be owned by Mailman's
user:group - normally list:list
in Debian packages.
I'm only guessing here, but I suspect you ran mailman import21
at some
point as root
. Never run mailman
commands as root
. Only run them
as the Mailman user - list
in Debian packages. Note that Mailman core
in Debian Buster is 3.2.1. Since 3.3.5, "The mailman command will refuse
to run as root unless the new --run-as-root option is specified." in
order to help avoid this issue.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan