Odhiambo Washington wrote:
On Wed, 6 Jan 2021 at 15:36, Andreas Barth aba@ayous.org wrote:
Odhiambo Washington (odhiambo@gmail.com) [210106 12:12]:PS: I could probably have caused the error with some weird operation I did: Initially when postorius comes up, it has the domain - example.com http://example.com. I am not sure where it gets this.
example.com is the default domain from django. Renaming that via the django (e.g. mailman3/admin/sites/site/1/change/ ) worked for me quite well (without touching anything in the database by hand). Hi Andi,
I could be missing something still...
At what juncture during the installation do you do this renaming? Where is this directory? On my setup, I have no such directory - but I could be missing something in the install process, maybe..
root@debian10:/opt/mailman# pwd /opt/mailmanroot@debian10:/opt/mailman# find . -type d -name sites ./mm/venv/lib/python3.7/site-packages/jedi/third_party/django-stubs/django-stubs/contrib/sites ./mm/venv/lib/python3.7/site-packages/django/contrib/sites Do you find anything amiss with this HOWTO - https://wiki.list.org/DOC/Howto_Install_Mailman3_On_Debian10 ?? I find the guide rather straight and clear.
That is my work in progress and thank you for the compliment.
It's the one I am following - almost to the letter - except for the fact that I am using Apache+mod_wsgi+MySQL+Exim instead. I have configs in place by the time I run 'mailman info' portion. But then again, when I run this command, I don't like what it prints because I see some reference to sqlite.
Can you paste what the mailman info output is and the contents of your mailman.cfg file?
As it is, I believe my problem lies elsewhere, not possible to solve with your rename option.
To get rid of example.com, I log into Django, create a new site using the main list domain and note the site id. I then edit the settings_local.py file and change the SITE_ID setting to the new site id of the main list domain. You will need to restart mailman and qcluster I believe after making that change.