problem configuring mailman3 on debian bullseye
Hello all,
I'm a blind server administrator living in Italy. I use mailman since 2010 and I was very happy for this list manager.
When was released the version 3 I started to have many problems to configure it.
In this days I installed a new server for my association and I have this problem that I don't know to solve.
The server is a debian bullseye.
I installed mailman3-full from the standard packege.
I'm using nginx as web server.
I configured mailman3 and mailman3-web wit https support.
All is working fine, but if I attempt to subscribe someone it does not work.
I send a subscription e-mail to the address list and I receive correctly the request to confirm subscription. When I reply to the request mailman log gives this error:
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /postorius/api/templates/list/listname.domain/list:user:notice:welcome (Caused by SSLError(SSLCertVerificationError("hostname 'localhost' doesn't match either of 'example.com', 'www.example.com'")))
The strange thing is that I configured a domain list.example.com and in the configuration files I put this domain.
Mailman3-web works fine I can create lists and make settings.
Have you an idea about this issue?
Thanks
-- Roberto Burceni Servizio informatico sezionale Tel. 0302209417 (lunedì e giovedì mattina dalle 9:00 alle 13:00, martedì emercoledì pomeriggio dalle 14:00 alle 18:00 E-mail: servizioinformatico@uicibrescia.it Sito web: https://www.uicibrescia.it
On Wed, Mar 15, 2023 at 6:21 PM Servizio Informatico U.I.C.I. Sezione territoriale di Brescia <servizioinformatico@uicibrescia.it> wrote:
Hello all,
I'm a blind server administrator living in Italy. I use mailman since 2010 and I was very happy for this list manager.
When was released the version 3 I started to have many problems to configure it.
In this days I installed a new server for my association and I have this problem that I don't know to solve.
The server is a debian bullseye.
I installed mailman3-full from the standard packege.
I'm using nginx as web server.
I configured mailman3 and mailman3-web wit https support.
All is working fine, but if I attempt to subscribe someone it does not work.
I send a subscription e-mail to the address list and I receive correctly the request to confirm subscription. When I reply to the request mailman log gives this error:
requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /postorius/api/templates/list/listname.domain/list:user:notice:welcome (Caused by SSLError(SSLCertVerificationError("hostname 'localhost' doesn't match either of 'example.com', 'www.example.com'")))
The strange thing is that I configured a domain list.example.com and in the configuration files I put this domain.
Mailman3-web works fine I can create lists and make settings.
Have you an idea about this issue?
Assuming that you created this template - list:user:notice:welcome - what are its contents?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
Hi,
I created a template but after some tests I deleted it.
Now I created only a standard list without modifying any templates.
So they are the standard templates coming with the distribution. I did not change also the language
Roberto Burceni Servizio informatico sezionale Tel. 0302209417 (lunedì e giovedì mattina dalle 9:00 alle 13:00, martedì emercoledì pomeriggio dalle 14:00 alle 18:00 E-mail: servizioinformatico@uicibrescia.it Sito web:https://www.uicibrescia.it
Il 15/03/23 16:30, Odhiambo Washington ha scritto:
On Wed, Mar 15, 2023 at 6:21 PM Servizio Informatico U.I.C.I. Sezione territoriale di Brescia <servizioinformatico@uicibrescia.it> wrote:
Hello all, I'm a blind server administrator living in Italy. I use mailman since 2010 and I was very happy for this list manager. When was released the version 3 I started to have many problems to configure it. In this days I installed a new server for my association and I have this problem that I don't know to solve. The server is a debian bullseye. I installed mailman3-full from the standard packege. I'm using nginx as web server. I configured mailman3 and mailman3-web wit https support. All is working fine, but if I attempt to subscribe someone it does not work. I send a subscription e-mail to the address list and I receive correctly the request to confirm subscription. When I reply to the request mailman log gives this error: requests.exceptions.SSLError: HTTPSConnectionPool(host='localhost', port=443): Max retries exceeded with url: /postorius/api/templates/list/listname.domain/list:user:notice:welcome (Caused by SSLError(SSLCertVerificationError("hostname 'localhost' doesn't match either of 'example.com <http://example.com>', 'www.example.com <http://www.example.com>'"))) The strange thing is that I configured a domain list.example.com <http://list.example.com> and in the configuration files I put this domain. Mailman3-web works fine I can create lists and make settings. Have you an idea about this issue?
Assuming that you created this template - list:user:notice:welcome - what are its contents?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
On Wed, Mar 15, 2023 at 7:10 PM Servizio Informatico U.I.C.I. Sezione territoriale di Brescia <servizioinformatico@uicibrescia.it> wrote:
Hi,
I created a template but after some tests I deleted it.
Now I created only a standard list without modifying any templates.
So they are the standard templates coming with the distribution. I did not change also the language
Maybe you can start by deleting any templates in postorius_emailtemplate table in the DB?
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
On 3/15/23 09:55, Odhiambo Washington wrote:
On Wed, Mar 15, 2023 at 7:10 PM Servizio Informatico U.I.C.I. Sezione territoriale di Brescia <servizioinformatico@uicibrescia.it> wrote:
Hi,
I created a template but after some tests I deleted it.
Now I created only a standard list without modifying any templates.
So they are the standard templates coming with the distribution. I did not change also the language
Maybe you can start by deleting any templates in postorius_emailtemplate table in the DB?
There shouldn't be any, but if the issue is with accessing postorius templates, that might make it worse.
If you want only the system default templates, you could do this database query to remove any non-defaults:
DELETE FROM templates;
That will ensure that you aren't accessing Postorius for any templates.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi,
Thank you. I discovered tha I removed all templates but in the db table the template was not removed. It was pointing to localhost and this was the problem.
Thanks to all for help!
Roberto Burceni Servizio informatico sezionale Tel. 0302209417 (lunedì e giovedì mattina dalle 9:00 alle 13:00, martedì emercoledì pomeriggio dalle 14:00 alle 18:00 E-mail: servizioinformatico@uicibrescia.it Sito web: https://www.uicibrescia.it
Il 16/03/23 04:20, Mark Sapiro ha scritto:
On 3/15/23 09:55, Odhiambo Washington wrote:
On Wed, Mar 15, 2023 at 7:10 PM Servizio Informatico U.I.C.I. Sezione territoriale di Brescia <servizioinformatico@uicibrescia.it> wrote:
Hi,
I created a template but after some tests I deleted it.
Now I created only a standard list without modifying any templates.
So they are the standard templates coming with the distribution. I did not change also the language
Maybe you can start by deleting any templates in postorius_emailtemplate table in the DB?
There shouldn't be any, but if the issue is with accessing postorius templates, that might make it worse.
If you want only the system default templates, you could do this database query to remove any non-defaults:
DELETE FROM templates;
That will ensure that you aren't accessing Postorius for any templates.
participants (3)
-
Mark Sapiro
-
Odhiambo Washington
-
Servizio Informatico U.I.C.I. Sezione territoriale di Brescia