I've just set up Mailman 3 with Hyperkitty and Postorius in venv via pip by using the guide at https://docs.mailman3.org/en/latest/install/virtualenv.html#virtualenv-inst… on Oracle Linux 8.3 with Python 3.6.8. The process seemed to go smoothly and without errors.
The log file, /opt/mailman/web/logs/uwsgi-error.log, contains the following stack trace, however. Note the bit toward the bottom: "ModuleNotFoundError: No module named 'settings'"
Traceback (most recent call last):
File "/opt/mailman/venv/lib64/python3.6/site-packages/django/core/management/__init__.py", line 224, in fetch_command
app_name = commands[subcommand]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/mailman/venv/bin/mailman-web", line 8, in <module>
File "/opt/mailman/venv/lib64/python3.6/site-packages/mailman_web/manage.py", line 30, in main
File "/opt/mailman/venv/lib64/python3.6/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
File "/opt/mailman/venv/lib64/python3.6/site-packages/django/core/management/__init__.py", line 395, in execute
File "/opt/mailman/venv/lib64/python3.6/site-packages/django/core/management/__init__.py", line 231, in fetch_command
File "/opt/mailman/venv/lib64/python3.6/site-packages/django/conf/__init__.py", line 76, in __getattr__
File "/opt/mailman/venv/lib64/python3.6/site-packages/django/conf/__init__.py", line 63, in _setup
self._wrapped = Settings(settings_module)
File "/opt/mailman/venv/lib64/python3.6/site-packages/django/conf/__init__.py", line 142, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib64/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'settings'
[uwsgi-daemons] throttling "/opt/mailman/venv/bin/mailman-web qcluster" for 245 seconds
[uwsgi-daemons] respawning "/opt/mailman/venv/bin/mailman-web qcluster" (uid: 1002 gid: 1002)
Mailman and mailman-web do start without errors when I run them via their systemd unit files and Postorius serves up pages (without styles and such, which I'll fix later). SELinux is disabled, at least while I work through this issue. I've gone over the configuration files, and everything appears to be in order as written in the installation instructions, but that's likely not the case. :)
My configuration files outside of the Mailman virtual environment are in /etc/mailman/:
(venv) [mailman@host ~]$ ls /etc/mailman3/
mailman.cfg __pycache__ settings.py uwsgi.ini
When searching the web about this, I only found one result, on this very list, but it didn't have quite enough information for me to solve my issue. It might also not quite be the same problem: https://firstname.lastname@example.org/thread/…
Might you be able to point me in the right direction on solving this issue? Please tell me if there is any more information I can provide to that end.
After using Mailman 2 (and possibly 1 though I don’t remember) for almost 20 years, I have just upgraded to Mailman 3. I followed the instructions here:
Things generally work, but I have run into a couple of small problems:
1) The uwsgi-error.log is filling with errors that seem to culminate in "ModuleNotFoundError: No module named ‘settings’”. My settings.py is located in “/etc/mailman3” and seems to be found by other components of MM3. This error must be coming from the cron jobs. Does anyone have any ideas how to fix this problem?
2) While old messages were imported without issue, new emails are not being archives. I see them in:
But they are not being delivered. I have added this to my mailman.cfg:
And created the "/usr/local/mailman3/mailman-hyperkitty.cfg” as such:
api_key: [key that matches “MAILMAN_ARCHIVER_KEY” in my settings.py]
Some documentation says that the url should be "http://localhost/hyperkitty/“, but url generates a page not found error on my setup while the archives are available at the “archives” url.
I would greatly appreciate any assistance with these two issues.
Hey mailman teams.
We deployed mailman suite service for our community, and everything
looks good to us now, but we are asking whether there are any documents on
how to deploy the mailman suite service into HA mode, any document or
conversation will be helpful, thanks!
link: how we deploy mailman suite service in kubernetes:
This is probably Design Intent, but I'd just like to confirm.
When an administrator submits partial 'member options', it comes back with the details of a 400 - Bad Request, indicating essentially that all of the member options must be set.
It would be a bit smoother to check that all values are selected before sending the request, and inform the administrator that they cannot selectively override member settings for their list.
But most importantly, I would like to confirm that nothing is corrupt/broken in our implementation.
Thanks in advance for any guidance.
First, a bit of admin. Mailman 2 is still in active use, so we've
split out a separate list for Mailman 3: mailman-users(a)mailman3.org.
You can use several common social media to authenticate yourself.
You'll have to do the usual one-time key dance to verify your email
address (sorry!) You will get good feedback from the users there
(better than the OP list).
** Reply-To set, please use "reply to author" to follow up. **
Skip Montanaro writes:
> So, I got to thinking... Are there any free web user (not admin)
> interfaces which integrate with MM3?
Yes. The HyperKitty archiver, which is part of the Mailman 3 suite,
provides an interface for submitting posts as well as reading them,
and has a few social media features (liking posts).
> Something which when combined with MM3 could conceivably be an
> alternative to Google Groups, (the now defunct) Yahoo! Groups, or
That's for your users to say. ;-) If you visit
you can try it for yourself. To post, you'll need to sign up (you can
do that with a Google account, and I think both GitHub and GitLab are
accepted as well.
> I poked around the archives a bit and browsed list.org for a few
> minutes, but turned up nothing. Or rather, all I found related to
> web interfaces was the admin interface.
HyperKitty issues mostly have to do with importing archives. The
webservice being effectively synchronous and centralized doesn't have
a lot of problems as compared to email, and many feature suggestions
go directly to the tracker for HyperKitty. I'm not surprised you
don't find much about HyperKitty as Web UI in the list archives.
[Mailman-Users] mailman3 and exim4 problem in debian bullseye
I'm configuring mailman3 with exim4 on a debian 11.
I followed the official documentation on mailman for exim. It seems to
be all rights, but I have a problem:
when I send a message to a new lists in exim logs I see that exim uses
correctly mailman router and transport.
Unfortunately in smtp.log in mailman3 log folder I have the following
May 04 16:51:01 2021 (2337) ('127.0.0.1', 34746) sender:
May 04 16:51:01 2021 (2337) ('127.0.0.1', 34746) Data: b'RCPT TO:
May 04 16:51:01 2021 (2337) ('127.0.0.1', 34746) recip:
May 04 16:51:01 2021 (2337) ('127.0.0.1', 34746) Data: b'DATA'
May 04 16:51:02 2021 (2337) ('127.0.0.1', 34746) Data: b'QUIT'
May 04 16:51:02 2021 (2337) ('127.0.0.1', 34746) connection lost
May 04 16:51:02 2021 (2337) Connection lost during _handle_client()
This causes that messages are not sent from mailman to users. Have you
an idea of the problem?
Can it be a memory problem that causes that mailman responses are too
slow and exim closes the comunication before the end?
I have no other errors in other log files
Thank you in advance
Linux System Admin & PHP developer
Esperto accessibilità siti web
P.iva: 04025840986mbre per il mat
I have seen a few messages on this list regarding handling 'out of
office' auto-replies. However I do not see a final resolution. What is
the best practice to filter auto-replies to list: header filter or
postfix milter-reject or something else?
We are running dockerized Mailman 3 version 1.3.4. A list user
auto-replied their vacation message to list and then the listserv
created a chain-reaction of continuously replying to auto-replies by
that user. There isn't really a good header option to filter from, as
the subject seems to be randomized. For example:
From <SENDER ADDRESS> Tue May 4 19:02:29 2021
From: Sender Name <SENDER ADDRESS>
To: <LIST ADDRESS>
Subject: [electronics-daq] Re: 25ad
Date: Tue, 04 May 2021 20:59:57 +0200
Content-Type: text/plain; charset="utf-8"
I've been setting up a new Mailman 3 installation earlier this year, and I think things have been going okay so far.
I've noticed, however, that after a long amount of time passes (for example, a weekend), when I try to visit the local Mailman 3 web application (e.g., example.mailman.site/mailman3/lists/, where it says "Postorius" at the top left corner of the page and shows a list of mailing lists in the body of the page), I sometimes get a 502 Bad Gateway type of error (referenced from my notes). As far as I can tell, this looks like a normal web server (nginx?) error. If I try visiting the Mailman 3 server location again in a web browser shortly thereafter, I still might get a 502 Bad Gateway error. If I wait a while longer (maybe a minute or more?), the Mailman 3 web application appears to load as expected.
I've tried looking at the gunicorn documentation (https://docs.gunicorn.org/en/stable/index.html) and searching online (including in this Mailman3 mailing list) to see if there's something that can be done to fix this issue. The closest thing I can find for now is advice for something that, while possibly being technologically unrelated, includes the idea of "warmup requests", which makes me think of simply setting up some sort of script to periodically load a page on the Mailman 3 web application in order to keep it more available for visitors (https://stackoverflow.com/a/57056170).
Is there a setting or something in any of the Mailman 3 related programs that could help with keeping the Mailman 3 web application up and running more often without having to resort to making an ongoing, automated request to the Mailman 3 web application?
* Note: "Mailman 3" terminology is referenced from this page: https://lists.mailman3.org/archives/
I am trying to download a complete list mbox by going to all threads view and using the download option. I have tried a couple of tools (Gunzip and Winrar) and both are giving me an unexpected end of file when trying to decompress the gz file.
Here is the list URL I am using: https://email@example.com…