YunoHost-Apps / mailman3_ynh

Mailman - The GNU Mailing List Management System packaged for YunoHost.
GNU Affero General Public License v3.0
6 stars 3 forks source link

Emails sent to list don't get forwarded to list members #37

Open eauchat opened 1 year ago

eauchat commented 1 year ago

Describe the bug

When a member sends a mail to the list, nothing happens, and other members don't receive anything.

Context

Steps to reproduce

Expected behavior

Message sent to the list will be forwarded to each member of the list. Or at least the member will get a response email mentioning why it will not be forwarded. Or the message should appear in "Held message" in the web interface.

None of the previous is happening. So I guess there is an issue somewhere, but don't know the appropriate way to debug it.

Side note

I'll probably open a specific separate bug report, but if I subscribe a user, the user gets to receive the welcoming email properly, but if I try to add a "list:user:notice:welcome" template, when subscribing a new user, I get the following error (subscription still seem to work, but the user doesn't receive any welcoming email):

HTTP Error 400: HTTPSConnectionPool(host='lists.domain.tld', port=443): Max retries exceeded with url: /postorius/api/templates/list/listname.lists.domain.tld/list:user:notice:welcome (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1123)'))) 
eauchat commented 1 year ago

Well it seems the issue was coming from this: PermissionError: [Errno 13] Permission denied: '/var/lib/mailman3/lists/lisname.lists.domain.tld/digest.mmdf'

The digest.mmdf file doesn't exist, hence why this error is occurring.

Deactivating digest mode resolved the issue for me. But I guess there is still something that's not how it should be, with this missing file.