I have created a new domain - via postorius
I want to set the 'Web Host' to be the same as the new domain but I cannot see that domain in the drop down list. Even if I save it and then edit the domain I still cannot see it.
I went into mailman3-web/settings.py and added it to ALLOWED_HOSTS - no joy.
I can see the domain in table mailman3.domain and mailman3web.django_mailman3_maildomain
But it is not in table mailman3web.django_site
Please how do I do this ?
Thanks
-- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html #include <std_disclaimer.h>
On 11/27/24 12:18 PM, Alain D D Williams wrote:
But it is not in table mailman3web.django_site
Please how do I do this ?
Add the domain as a site in the Django web admin UI.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Wed, Nov 27, 2024 at 12:42:41PM -0800, Mark Sapiro wrote:
On 11/27/24 12:18 PM, Alain D D Williams wrote:
But it is not in table mailman3web.django_site
Please how do I do this ?
Add the domain as a site in the Django web admin UI.
I did not see this y/day and created the entry in table django_site using SQL. This might be the cause of the other problems that we have been talking about.
I must admit to finding django daunting -- something that I know nothing about; I ran "mailman-web --help" and was non the wiser.
I found the following which did not help either:
https://docs.mailman3.org/en/latest/django-primer.html
-- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html #include <std_disclaimer.h>
On 11/28/24 10:19 AM, Alain D D Williams wrote:
On Wed, Nov 27, 2024 at 12:42:41PM -0800, Mark Sapiro wrote:
On 11/27/24 12:18 PM, Alain D D Williams wrote:
But it is not in table mailman3web.django_site
Please how do I do this ?
Add the domain as a site in the Django web admin UI.
I did not see this y/day and created the entry in table django_site using SQL. This might be the cause of the other problems that we have been talking about.
It's not likely that this is the cause.
I must admit to finding django daunting -- something that I know nothing about; I ran "mailman-web --help" and was non the wiser.
I found the following which did not help either:
Yes, Django can be daunting. It is certainly possible to implement alternatives to Postorius and HyperKitty that use some lighter weight, non-Django framework, and it was always our hope that someone would do this and contribute it.
A few years ago, EMWD did implement alternatives using PHP, but at least in part due to the untimely death of EMWD's principal, those remain proprietary.
That said, if you follow the installation doc at https://docs.mailman3.org/en/latest/install/virtualenv.html you shouldn't need much Django knowledge beyond that and https://docs.mailman3.org/en/latest/django-primer.html
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On Thu, Nov 28, 2024 at 01:04:13PM -0800, Mark Sapiro wrote:
I did not see this y/day and created the entry in table django_site using SQL. This might be the cause of the other problems that we have been talking about.
It's not likely that this is the cause.
It is fixed - the mail list works. I had forgotten to put the reverse proxy into the Apache config -- this is what led to the many, rapid retries.
I had a problem for a while in the nothing to one particular list was sent to users. This had several users who's delivery status was 'disabled' (correctly, as on the old instance). If was only after a lot of fiddling (trying to delete from the list) that it started to work for the others.
There are still rough edges, eg trying to delete a list member gives a server error. In /var/log/mailman3/mailman.log I see a 404:
"DELETE /3.1/lists/chat.bray.phcomp.co.uk/member/a.chentouf@hotmail.com HTTP/1.1" 404 26 "-" "GNU Mailman REST client v3.3.5"
I am not to worried about that today, will look at it in the future.
Thanks for your help
-- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html #include <std_disclaimer.h>
On Wed, Nov 27, 2024 at 08:18:34PM +0000, Alain Williams wrote:
I have created a new domain - via postorius
I want to set the 'Web Host' to be the same as the new domain but I cannot see that domain in the drop down list. Even if I save it and then edit the domain I still cannot see it.
I went into mailman3-web/settings.py and added it to ALLOWED_HOSTS - no joy.
I can see the domain in table mailman3.domain and mailman3web.django_mailman3_maildomain
But it is not in table mailman3web.django_site
Please how do I do this ?
This is what I ended up doing using mysql - not hearing of a better way of so doing (fake domain names):
use mailman3web; insert into django_site (domain,name)values('maillists.co.uk','UK maillist');
-- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 https://www.phcomp.co.uk/ Parliament Hill Computers. Registration Information: https://www.phcomp.co.uk/Contact.html #include <std_disclaimer.h>
participants (2)
-
Alain D D Williams
-
Mark Sapiro