Hi!
You wrote:
On Sun, Feb 5, 2023 at 10:23 AM Lars Bjørndal <[1]lars@lamasti.net> wrote:
Hi, and than you for your quick reply! You wrote: > On Sun, Feb 5, 2023 at 9:51 AM Lars Bjørndal <[1][2]lars@lamasti.net> wrote: > > The verification link I get back when trying to add an account, referes > to localhost, e.g. > > To confirm this is correct, go to [2][3]https://localhost:8000/ accounts/ > confirm-email/Mw:1... > > Where do I change that? > > > What do you have as POSTORIUS_TEMPLATE_BASE_URL value in settings? I don't have this variable anywhere in /etc/mailman3. However, I found it here: ./venv/lib/python3.10/site-packages/mailman_web/settings/ mailman.py:POSTORIUS_TEMPLATE_BASE_URL = '[4]http://localhost:8000' In which config file should that variable be set, and how do I set it so that mailman can works for multiple domains?
Because it is still too early in your quest to get to run Mailman3, I'd advise that you take your time to follow this guide: [5]https://docs.mailman3.org/en/latest/install/virtualenv.html#
It is the official installation guide.
Yes, I've followed it, maybe with some errors.
There is a step where it tells you to create a file named settings.py, in a particular path. You really need that step.
Yes, I have the file /etc/mailman3/settings.py, but in that file, I didn't have the variable in question.
Regarding your question about multiple domains, that is already well taken care of when you create a list either via Postorius or the cli: (venv) [mailman@gw /opt/mailman]$mailman create [6]list1@domain1.name (venv) [mailman@gw /opt/mailman]$mailman create [7]another-lis@domain2.name
Mailman will know how to handle this in conjunction with your MTA.
That's right. But, still, when I set the SITE_ID = 0, I get an server error when trying to connect. I also get mail from Django that states the error. I'm not sure how to fix it.
Thanks, Lars
[...]
References:
[1] mailto:lars@lamasti.net [2] mailto:lars@lamasti.net [3] https://localhost:8000/accounts/ [4] http://localhost:8000/ [5] https://docs.mailman3.org/en/latest/install/virtualenv.html# [6] mailto:list1@domain1.name [7] mailto:another-lis@domain2.name