#1002830 mailman3: Wrong error message when permissions are wrong

Package:
mailman3
Source:
mailman3
Submitter:
Martin Mares
Date:
2023-01-07 19:03:01 UTC
Severity:
minor
Tags:
#1002830#5
Date:
2021-12-29 15:46:14 UTC
From:
To:
Hello!

I was receiving mysterious messages from the out runner:

	Cannot connect to SMTP server 127.0.0.1 on port 25

even though the SMTP server was running fine. It turned out that the cause
of the failure is wrong permissions on the template file:

	/var/lib/mailman3/templates/lists/test-l.example.org/en/list:member:regular:footer.txt

Could somebody please fix the misleading message?

#1002830#10
Date:
2022-06-24 15:51:38 UTC
From:
To:
control: tag -1 moreinfo


I think that is waiting on how to reproduce the message.


What were the wrong permissions and what are the correct permission
on /var/lib/mailman3/templates/lists/test-l.example.org/en/list:member:regular:footer.txt ?


Please provide the output of `ls -l` on the file for the "good" and
"bad" situations.


Telling what might have caused the wrong permissions is also a good thing.



Groeten
Geert Stappers

#1002830#17
Date:
2023-01-07 18:52:20 UTC
From:
To:
The wrong permissions were 600, but the file was owned by root, so it was
inaccessible to the list server.

The cause is irrelevant (it was a human error), the bug is in displaying the
wrong message when this happens.