On Sun, Feb 5, 2023 at 2:16 PM Lars Bjørndal <lars@lamasti.net> wrote:
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.
Oh, in that case, it does not appear in settings.py. I have followed that guide, but I always login to the /admin UI to create a site (and a mail domain tied to a site) before I create my lists. Perhaps that's why I haven't encountered the problem you are seeing.
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.
How many sites did you create already?
IIRC, this SITE_ID = 0 should be accompanied with FILTER_VHOST = True
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)