Mailman 3 installation documentation
by Abhilash Raj
Hi All,
I have been trying to work on revamping the documentation site we have at https://docs.mailman3.org. It is on https:// but I am not sure why the http->https redirect doesn't work in Readthedocs. I have set it to "serve always from https".
Anyway, it might not look too different right now, but there are some small re-organizations. I have been learning some new ReST and Sphinx tricks and been trying to cross-reference and link various sections and settings. The docs site shows up Mailman's logo now (I didn't even know we could do that ;-).
There is a place[1] for all supported Django settings that Postorius and Hyperkitty have. I am also planning to add some common Django settings that often people have to lookup and is not fun for people from non-python backgrounds. Hopefully, it will make lives easier for administrators.
I have reverted my own stupid decision to use "sudo pip3 install" in the docs to instead use virtualenv. The installation docs are going to grow to be more comprehensive.
I am also working on mailman-web project[3], which should simply installation process for all the web components using a single project and provide better guidance on Django's settings file management and howto run manage.py commands.
I have added a `mailman-web` command, which, for those of you familiar with internal details of Django, is going to be our custom manage.py script. It sets up settings correctly and would hopefully reduce the pain of using `django-admin` and/or finding out the right path for `manage.py` script. It is still not ready for prime time, but it is usable. Early adopters can play with it if they like!
I would really appreciate if people who have tried to manually install Mailman 3 in the past would share their experiences about what they think could be documented better. You can reply here or open an issue[2].
The user documentation are going to follow, hopefully soon :)
[1]: https://docs.mailman3.org/en/latest/config-web.html#configure-postorius-hyp…
[2]: https://gitlab.com/mailman/mailman-suite-doc/issues
[3]: https://gitlab.com/mailman/mailman-web
--
thanks,
Abhilash Raj (maxking)
6 years
Cannot Install Web UI
by Dennis Putnam
I'm trying to install the web UI for mailman3. I am getting the
following failure. Can someone help? TIA.
(venv) mailman :~$ pip install mailman-web mailman-hyperkitty
Collecting mailman-web
Downloading mailman_web-0.0.9-py3-none-any.whl.metadata (3.2 kB)
Collecting mailman-hyperkitty
Downloading mailman-hyperkitty-1.2.1.tar.gz (22 kB)
Preparing metadata (setup.py) ... done
Collecting django<4.3,>=4.0 (from mailman-web)
Downloading django-4.2.25-py3-none-any.whl.metadata (4.2 kB)
Collecting hyperkitty (from mailman-web)
Downloading hyperkitty-1.3.12-py3-none-any.whl.metadata (3.6 kB)
Collecting postorius (from mailman-web)
Downloading postorius-1.3.13-py3-none-any.whl.metadata (2.9 kB)
Collecting whoosh (from mailman-web)
Downloading Whoosh-2.7.4-py2.py3-none-any.whl.metadata (3.1 kB)
Requirement already satisfied: mailman in
./venv/lib/python3.12/site-packages (from mailman-hyperkitty) (3.3.10)
Requirement already satisfied: requests in
./venv/lib/python3.12/site-packages (from mailman-hyperkitty) (2.32.5)
Requirement already satisfied: zope.interface in
./venv/lib/python3.12/site-packages (from mailman-hyperkitty) (8.0.1)
Requirement already satisfied: asgiref<4,>=3.6.0 in
./venv/lib/python3.12/site-packages (from django<4.3,>=4.0->mailman-
web) (3.10.0)
Requirement already satisfied: sqlparse>=0.3.1 in
./venv/lib/python3.12/site-packages (from django<4.3,>=4.0->mailman-we
b) (0.5.3)
Collecting django-compressor>=1.3 (from hyperkitty->mailman-web)
Downloading django_compressor-4.5.1-py2.py3-none-any.whl.metadata
(5.0 kB)
Collecting django-extensions>=1.3.7 (from hyperkitty->mailman-web)
Downloading django_extensions-4.1-py3-none-any.whl.metadata (6.1 kB)
Collecting django-gravatar2>=1.0.6 (from hyperkitty->mailman-web)
Downloading django_gravatar2-1.4.5-py2.py3-none-any.whl.metadata (4.3 kB)
Collecting django-haystack>=2.8.0 (from hyperkitty->mailman-web)
Downloading django_haystack-3.3.0.tar.gz (467 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 467.3/467.3 kB 3.8 MB/s
eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting django-q2>=1.0.0 (from hyperkitty->mailman-web)
Downloading django_q2-1.8.0-py3-none-any.whl.metadata (9.5 kB)
Collecting django_mailman3>=1.3.13 (from hyperkitty->mailman-web)
Downloading django_mailman3-1.3.15-py3-none-any.whl.metadata (5.4 kB)
Collecting djangorestframework>=3.0.0 (from hyperkitty->mailman-web)
Downloading djangorestframework-3.16.1-py3-none-any.whl.metadata (11 kB)
Requirement already satisfied: flufl.lock>=4.0 in
./venv/lib/python3.12/site-packages (from hyperkitty->mailman-web) (8.
2.0)
Collecting mailmanclient>=3.3.3 (from hyperkitty->mailman-web)
Downloading mailmanclient-3.3.5.tar.gz (89 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.6/89.6 kB 1.2 MB/s eta
0:00:00
Preparing metadata (setup.py) ... done
Collecting mistune>=3.0 (from hyperkitty->mailman-web)
Downloading mistune-3.1.4-py3-none-any.whl.metadata (1.8 kB)
Collecting networkx>=2.0 (from hyperkitty->mailman-web)
Downloading networkx-3.5-py3-none-any.whl.metadata (6.3 kB)
Requirement already satisfied: python-dateutil>=2.0 in
./venv/lib/python3.12/site-packages (from hyperkitty->mailman-web
) (2.9.0.post0)
Collecting robot-detection>=0.3 (from hyperkitty->mailman-web)
Downloading robot-detection-0.4.tar.gz (6.4 kB)
Preparing metadata (setup.py) ... done
Requirement already satisfied: aiosmtpd>=1.4.3 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty)
(1.4.6)
Requirement already satisfied: alembic!=1.7.0,>=1.6.2 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hype
rkitty) (1.17.0)
Requirement already satisfied: atpublic in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty)
(6.0.2
)
Requirement already satisfied: authheaders>=0.16 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitt
y) (0.16.3)
Requirement already satisfied: authres>=1.0.1 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty)
(1.2.0)
Requirement already satisfied: click>=8.0.0 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty) (8
.3.0)
Requirement already satisfied: dnspython>=1.14.0 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitt
y) (2.8.0)
Requirement already satisfied: falcon>=3.1.3 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty) (
4.1.0)
Requirement already satisfied: flufl.bounce>=4.0 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitt
y) (4.0)
Requirement already satisfied: flufl.i18n>=3.2 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty)
(5.2.0)
Requirement already satisfied: gunicorn in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty)
(23.0.
0)
Requirement already satisfied: lazr.config in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty) (3.
1)
Requirement already satisfied: passlib in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty)
(1.7.4)
Requirement already satisfied: sqlalchemy>=1.4.0 in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitt
y) (2.0.44)
Requirement already satisfied: zope.component in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty)
(7.0)
Requirement already satisfied: zope.configuration in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkit
ty) (7.0)
Requirement already satisfied: zope.event in
./venv/lib/python3.12/site-packages (from mailman->mailman-hyperkitty) (6.0
)
Collecting readme_renderer[md] (from postorius->mailman-web)
Downloading readme_renderer-44.0-py3-none-any.whl.metadata (2.8 kB)
Requirement already satisfied: charset_normalizer<4,>=2 in
./venv/lib/python3.12/site-packages (from requests->mailman-h
yperkitty) (3.4.4)
Requirement already satisfied: idna<4,>=2.5 in
./venv/lib/python3.12/site-packages (from requests->mailman-hyperkitty) (
3.11)
Requirement already satisfied: urllib3<3,>=1.21.1 in
./venv/lib/python3.12/site-packages (from requests->mailman-hyperki
tty) (2.5.0)
Requirement already satisfied: certifi>=2017.4.17 in
./venv/lib/python3.12/site-packages (from requests->mailman-hyperki
tty) (2025.10.5)
Requirement already satisfied: attrs in
./venv/lib/python3.12/site-packages (from
aiosmtpd>=1.4.3->mailman->mailman-hype
rkitty) (25.4.0)
Requirement already satisfied: Mako in
./venv/lib/python3.12/site-packages (from
alembic!=1.7.0,>=1.6.2->mailman->mailma
n-hyperkitty) (1.3.10)
Requirement already satisfied: typing-extensions>=4.12 in
./venv/lib/python3.12/site-packages (from alembic!=1.7.0,>=1.6
.2->mailman->mailman-hyperkitty) (4.15.0)
Requirement already satisfied: dkimpy>=0.7.1 in
./venv/lib/python3.12/site-packages (from authheaders>=0.16->mailman->ma
ilman-hyperkitty) (1.1.8)
Requirement already satisfied: publicsuffix2 in
./venv/lib/python3.12/site-packages (from authheaders>=0.16->mailman->ma
ilman-hyperkitty) (2.20191221)
Collecting django-appconf>=1.0.3 (from
django-compressor>=1.3->hyperkitty->mailman-web)
Downloading django_appconf-1.1.0-py3-none-any.whl.metadata (5.2 kB)
Collecting rcssmin==1.1.2 (from
django-compressor>=1.3->hyperkitty->mailman-web)
Downloading rcssmin-1.1.2-cp312-cp312-manylinux1_x86_64.whl.metadata
(4.5 kB)
Collecting rjsmin==1.2.2 (from
django-compressor>=1.3->hyperkitty->mailman-web)
Downloading rjsmin-1.2.2-cp312-cp312-manylinux1_x86_64.whl.metadata
(4.4 kB)
Requirement already satisfied: packaging in
./venv/lib/python3.12/site-packages (from django-haystack>=2.8.0->hyperkitty
->mailman-web) (25.0)
Collecting django-allauth>=0.63 (from
django-allauth[openid,socialaccount]>=0.63->django_mailman3>=1.3.13->hyperkitty->m
ailman-web)
Downloading django_allauth-65.12.1.tar.gz (2.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.0/2.0 MB 7.1 MB/s eta
0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting django-picklefield<4.0,>=3.1 (from
django-q2>=1.0.0->hyperkitty->mailman-web)
Downloading django_picklefield-3.3-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: psutil in
./venv/lib/python3.12/site-packages (from
flufl.lock>=4.0->hyperkitty->mailman-
web) (7.1.0)
Requirement already satisfied: six>=1.5 in
./venv/lib/python3.12/site-packages (from
python-dateutil>=2.0->hyperkitty->m
ailman-web) (1.17.0)
Requirement already satisfied: greenlet>=1 in
./venv/lib/python3.12/site-packages (from sqlalchemy>=1.4.0->mailman->mail
man-hyperkitty) (3.2.4)
Requirement already satisfied: setuptools in
./venv/lib/python3.12/site-packages (from lazr.config->mailman->mailman-hyp
erkitty) (80.9.0)
Requirement already satisfied: lazr.delegates in
./venv/lib/python3.12/site-packages (from lazr.config->mailman->mailman
-hyperkitty) (2.1.1)
Collecting nh3>=0.2.14 (from readme_renderer[md]->postorius->mailman-web)
Downloading
nh3-0.3.1-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
(466 bytes)
Collecting docutils>=0.21.2 (from
readme_renderer[md]->postorius->mailman-web)
Downloading docutils-0.22.2-py3-none-any.whl.metadata (15 kB)
Collecting Pygments>=2.5.1 (from
readme_renderer[md]->postorius->mailman-web)
Downloading pygments-2.19.2-py3-none-any.whl.metadata (2.5 kB)
Collecting cmarkgfm>=0.8.0 (from
readme_renderer[md]->postorius->mailman-web)
Downloading cmarkgfm-2025.10.20.tar.gz (145 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 145.8/145.8 kB 2.2 MB/s
eta 0:00:00
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [41 lines of output]
Traceback (most recent call last):
File
"/opt/mailman/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
li
ne 353, in <module>
main()
File
"/opt/mailman/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
li
ne 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/opt/mailman/venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py",
li
ne 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/build_meta.py",
line 331, in g
et_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/build_meta.py",
line 301, in _
get_build_requires
self.run_setup()
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/build_meta.py",
line 317, in r
un_setup
exec(code, locals())
File "<string>", line 5, in <module>
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/__init__.py",
line 115, in set
up
return distutils.core.setup(**attrs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/_distutils/core.py",
line 148,
in setup
_setup_distribution = dist = klass(attrs)
^^^^^^^^^^^^
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/dist.py",
line 321, in __init_
_
_Distribution.__init__(self, dist_attrs)
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/_distutils/dist.py",
line 309,
in __init__
self.finalize_options()
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/dist.py",
line 784, in finaliz
e_options
ep(self)
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/setuptools/dist.py",
line 804, in _finali
ze_setup_keywords
ep.load()(self, ep.name, value)
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/cffi/setuptools_ext.py",
line 229, in cff
i_modules
add_cffi_module(dist, cffi_module)
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/cffi/setuptools_ext.py",
line 50, in add_
cffi_module
execfile(build_file_name, mod_vars)
File
"/tmp/pip-build-env-uf_5f2aq/overlay/lib/python3.12/site-packages/cffi/setuptools_ext.py",
line 26, in exec
file
exec(code, glob, glob)
File "src/cmarkgfm/build_cmark.py", line 21, in <module>
with open(CMARK_DEF_H_PATH, encoding='utf-8') as fh:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory:
'/tmp/pip-install-y364_cvm/cmarkgfm_9fcba25730114ac4a08d1e
7733112a45/src/cmarkgfm/cmark.cffi.h'
[end of output]
note: This error originates from a subprocess, and is likely not a
problem with pip.
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a
problem with pip.
3 days, 9 hours
seems solved (was: Re: error changed after restart)
by Guillermo Hernandez (Oldno7)
On 7/2/21 19:33, Guillermo Hernandez (Oldno7) via Mailman-users wrote:
> On 7/2/21 19:04, Abhilash Raj wrote:
Well... I did reinstall all mailman relationed apps with a
pip install --upgrade --force-reinstall --no-deps --no-cache-dir
django-mailman3 mailman mailman-hyperkitty mailmanclient
Restarted thee apache24 server...
Aaaaaand closed de admin session and reopened it... (just for a "what
if" sensation).
I can not tell what have been the solution here, but now I can access
the administrative pages and attend de pending subscriptions and discard
retained messages.
Thanks Abhilash and Mark for your support.
>>
>> On Sun, Feb 7, 2021, at 1:07 AM, Guillermo Hernandez (Oldno7) via
>> Mailman-users wrote:
>>> On 6/2/21 21:19, Abhilash Raj wrote:
>>>>
>>>> On Sat, Feb 6, 2021 at 19:44, Guillermo Hernandez (Oldno7) via
>>>> Mailman-users <mailman-users(a)mailman3.org> wrote:
>>>>> On 6/2/21 18:08, Abhilash Raj wrote:
>>>>>
>>>>> On Sat, Feb 6, 2021, at 3:04 AM, Guillermo Hernandez (Oldno7)
>>>>> via
>>>>> Mailman-users wrote:
>>>>>
>>>>> I restarted de server and the error changed. Now the log
>>>>> shows "KeyError: 'subscription_mode'":
>>>>>
>>>>> Did you also restart Mailman Core after the upgrade?
>>>>>
>>>>> Yes, indeed: I stopped mailman core and all the processes related.
>>>>> Did the upgrades. Started all again. Find the errors in the web user
>>>>> interface. Stopped all again. Looked for errors in the log. Restarted
>>>>> the complete server. Found the second error that this second mail is
>>>>> about to. It happens when, in the main page that shows all the lists
>>>>> you click to see one of them. It seems to me that it has been
>>>>> database structure changes in django that the upgrade is not aware...
>>>>> but it's a very long shot from my side.
>>>> `subscription_mode` was added in Mailman Core 3.3.2 and it is actually
>>>> a derived atrribute and not stored in Database. Mailman's API
>>>> should be
>>>> returning this attribute for each Member, but for some reason it seems
>>>> to me like it isn't doing that even though do have Mailman 3.3.3
>>>> running
>>>> like you said.
>>>> If you have Curl installed, can you send me the output of:
>>>> $ curl -u <user>:<pass>
>>>> http://localhost:8001/3.1/members?count=5&page=1
>>> This is the output you asked for (it's the same you can see when you
>>> try
>>> to interact with one list):
>>>
>>> /usr/local/mailman3 # curl -u XXXXXX:XXXXXX
>>> http://localhost:8001/3.1/members?count=5&page=1
>>> /usr/local/mailman3 # <html>
>>> <head>
>>> <title>Internal Server Error</title>
>>> </head>
>>> <body>
>>> <h1><p>Internal Server Error</p></h1>
>>>
>>> </body>
>>> </html>
>>>
>>> No log entry has been produced...
>> This is weird, if you have working Core, then there should be *some*
>> json returned
>> from the above command. Do you have the Gunicorn running?
> I have the uwsgi approach running...
>> What is the
>> output of `ps -ef | grep mailman`?
>
> none
>
> but if I do an ps ax | grep mailman it shows
>
> /usr/local/mailman3 # ps ax | grep mailman
> 26803 - IsJ 0:00.87 /usr/local/bin/python3.7 /usr/local/bin/master
> --force -C /usr/local/mailman3/var/et
> 26834 - SJ 0:07.57 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26835 - IJ 0:05.84 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26836 - SJ 0:07.16 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26837 - SJ 0:08.74 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26838 - SJ 0:03.16 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26839 - SJ 0:07.07 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26840 - SJ 0:08.12 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26841 - SJ 0:09.07 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26842 - SJ 0:07.45 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26843 - IJ 0:00.95 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26844 - SJ 0:07.27 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26845 - SJ 0:07.69 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26859 - IJ 0:01.01 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 26860 - IJ 0:05.75 /usr/local/bin/python3.7 /usr/local/bin/runner
> -C /usr/local/mailman3/var/etc/mailma
> 50153 - IsJ 0:00.16 /usr/local/bin/uwsgi --ini
> /usr/local/mailman3/uwsgi.ini
> 50481 2 S+J 0:00.00 grep mailman
> 26808 1 SJ 0:02.09 /usr/local/bin/uwsgi --ini
> /usr/local/mailman3/uwsgi.ini
> 26832 1 IJ 0:00.00 /usr/local/bin/uwsgi --ini
> /usr/local/mailman3/uwsgi.ini
>
>> Are you able to run `mailman members` command to list the members of
>> a list?
>
> Yes. All the commands are working as expected.
>
>> Also, how did you actually install Mailman?
>
> Using pip. Here is a detailled post of how I did put all together:
>
> https://forums.FreeBSD.org/threads/mailman-3.61050/post-488128
>
> Thanks for your support
>
>>
>> Abhilash.
>>
>>> TIA.
>>>
>>>
>>>
>>>
>>>> It should ideally return an output that looks something like shown
>>>> here[1]. You
>>>> can put the username/password of Core's API server in the above
>>>> command.
>>>> [1]:
>>>> https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/rest/docs/…
>>>>
>>>>
>>>> Abhilash
>>>>> I'm using sqlite as django database and mysql for mailman.
>>>>>
>>>>> ERROR 2021-02-06 11:47:49,015 26798 django.request Internal
>>>>> Server Error:
>>>>> /mailman3/mailman3/lists/name_and_domain.of.the.list
>>>>> Traceback (most recent call last): File
>>>>> "/usr/local/lib/python3.7/site-packages/mailmanclient/restbase/base.py",
>>>>>
>>>>> line 119, in __getattr__ return self._get(name) File
>>>>> "/usr/local/lib/python3.7/site-packages/mailmanclient/restbase/base.py",
>>>>>
>>>>> line 86, in _get raise KeyError(key) KeyError:
>>>>> 'subscription_mode' During handling of the above exception,
>>>>> another exception occurred: Traceback (most recent call
>>>>> last): File
>>>>> "/usr/local/lib/python3.7/site-packages/django/core/handlers/exception.py",
>>>>> line 34, in inner response = get_response(request)
>>>>> File
>>>>> "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py",
>>>>>
>>>>> line 115, in _get_response response =
>>>>> self.process_exception_by_middleware(e, request) File
>>>>> "/usr/local/lib/python3.7/site-packages/django/core/handlers/base.py",
>>>>>
>>>>> line 113, in _get_response response =
>>>>> wrapped_callback(request, *callback_args, **callback_kwargs)
>>>>> File
>>>>> "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py",
>>>>>
>>>>> line 71, in view return self.dispatch(request, *args,
>>>>> **kwargs) File
>>>>> "/usr/local/lib/python3.7/site-packages/postorius/views/generic.py",
>>>>> line 74, in dispatch return super(MailingListView,
>>>>> self).dispatch(request, *args, **kwargs) File
>>>>> "/usr/local/lib/python3.7/site-packages/django/views/generic/base.py",
>>>>>
>>>>> line 97, in dispatch return handler(request, *args,
>>>>> **kwargs) File
>>>>> "/usr/local/lib/python3.7/site-packages/postorius/views/list.py",
>>>>> line 295, in get member.subscription_mode == File
>>>>> "/usr/local/lib/python3.7/site-packages/mailmanclient/restbase/base.py",
>>>>>
>>>>> line 124, in __getattr__ self.__class__.__name__, name))
>>>>> AttributeError: 'Member' object has no attribute
>>>>> 'subscription_mode' *********************** some info about
>>>>> the installed versions via pip list: pip list | grep django
>>>>> django-allauth 0.44.0
>>>>> django-appconf 1.0.4
>>>>> django-compressor 2.4
>>>>> django-extensions 3.1.0
>>>>> django-gravatar2 1.4.4
>>>>> django-haystack 3.0
>>>>> django-mailman3 1.3.5
>>>>> django-picklefield 3.0.1
>>>>> django-q 1.3.4
>>>>> djangorestframework 3.12.2 pip list | grep mailman
>>>>> django-mailman3 1.3.5
>>>>> mailman 3.3.3
>>>>> mailman-hyperkitty 1.1.0
>>>>> mailmanclient 3.3.2 pip list | grep
>>>>> postorius
>>>>> postorius 1.3.4 On 6/2/21 11:12,
>>>>> Guillermo Hernandez (Oldno7) via Mailman-users wrote:
>>>>>
>>>>> I've just upgrade mailman 3 installation following Mr.
>>>>> Sapiro advice: did a pip install --upgrade
>>>>> django-mailman3 hyperkitty mailman mailmanclient
>>>>> mailman-hyperkitty postorius I did a "python3 manage.py
>>>>> migrate" after, too. And all seemed to run well. All the
>>>>> lists showed in postorius via web, but when I try to
>>>>> accesss into one of them the browser shows an error. In
>>>>> the log you can see: *-*-*-*-*-*-* Traceback (most
>>>>> recent
>>>>> call last): File
>>>>> "/usr/local/lib/python3.7/site-packages/mailmanclient/restbase/base.py",
>>>>>
>>>>> line 119, in __getattr__ return self._get(name)
>>>>> File
>>>>> "/usr/local/lib/python3.7/site-packages/mailmanclient/restbase/base.py",
>>>>>
>>>>> line 86, in _get raise KeyError(key) KeyError:
>>>>> 'get_requests_count' .. (And after all the traceback
>>>>> lines) AttributeError: 'MailingList' object has no
>>>>> attribute 'get_requests_count' *-*-*-*-*-*-*-* The lists
>>>>> seem to be distributing messeages well.. but I cannot
>>>>> acces via web administration (django/postorius) Can
>>>>> anyone point me in the right direction to solve this,
>>>>> please? _______________________________________________
>>>>> Mailman-users mailing list -- mailman-users(a)mailman3.org
>>>>> <mailto:mailman-users@mailman3.org> To unsubscribe send
>>>>> an email to mailman-users-leave(a)mailman3.org
>>>>> <mailto:mailman-users-leave@mailman3.org>
>>>>> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>>>>> <https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3org/>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Mailman-users
>>>>> mailing list -- mailman-users(a)mailman3.org
>>>>> <mailto:mailman-users@mailman3.org> To unsubscribe send an
>>>>> email to mailman-users-leave(a)mailman3.org
>>>>> <mailto:mailman-users-leave@mailman3.org>
>>>>> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>>>>> <https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3org/>
>>>>>
>>>>>
>>>>> _______________________________________________ Mailman-users mailing
>>>>> list -- mailman-users(a)mailman3.org
>>>>> <mailto:mailman-users@mailman3.org> To unsubscribe send an email to
>>>>> mailman-users-leave(a)mailman3.org
>>>>> <mailto:mailman-users-leave@mailman3.org>
>>>>> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>>>>> <https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3org/>
>>>>>
>>>
>>> _______________________________________________
>>> Mailman-users mailing list -- mailman-users(a)mailman3.org
>>> To unsubscribe send an email to mailman-users-leave(a)mailman3.org
>>> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>>>
> _______________________________________________
> Mailman-users mailing list -- mailman-users(a)mailman3.org
> To unsubscribe send an email to mailman-users-leave(a)mailman3.org
> https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
>
4 years, 8 months
Re: Mailman, etc. upgrade woes and persistent bugs
by Stephen J. Turnbull
Brian Carpenter writes:
> I was going to respond in detail but it will be an effort in futility.
> My opinions are DEFINITELY not valued by you
But they are. I 100% buy the part about providing full option data
and controls in the list format (as in Mailman 2). Isn't that the
most important aspect of your proposal for Postorius?
In the rest of the discussion, all I did was ask what are the use
cases for distinguishing admin-disabled from user-disabled. I don't
know anybody better to ask than you! IMO, these use cases matter,
because as I explained in another post, it seems it would be useful to
provide the admin with *more* information than just the disabling
agent in cases where an admin is considering reenabling a disabled
subscription. I could be wrong, that's why I ask. I apologize for
not ending with a question mark, I should have done so.
I ask again, please, if you know, explain when admins are reenabling
disabled subscriptions (other than the OP's mass disable case, which I
think we understand pretty well). I personally have never reenabled a
subscription except at user request. I understand my experience is
extremely limited AND biased, but it is what it is, and it's all I
have right now. I wouldn't be surprised if Mark's and Abhilash's are
similar (although Mark does have his bicycle club list, and they're
mostly not power users). So, please share yours.
As for the abandoning Postorius part, do you think that hurts my
feelings? On the contrary, if you can do that, I feel pride.
Affinity being proprietary hurts my feelings (even though I understand
perfectly well why it's necessary), but list admins and subscribers
benefitting from Affinity is vindication of Barry's decision to split
out the UIs from the core, despite the pain that causes some site
admins. I had nothing to do with that decision, but I'm happy to be
associated with a project that cares enough for users to enable such
progress.
Sincere regards,
Steve
4 years, 8 months
Re: 3rd Party Account is not working
by kwp.klein@gmail.com
Here is my /mailamn/config/mailman-web/settings_local.py. I get an error message
curl http://172.19.199.3:8000/postorius/lists/
curl: (7) Failed connect to 172.19.199.3:8000; No route to host
Please comment out all the lines that are not necessary.
MAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_HOST = '172.19.199.1'
EMAIL_PORT = 25
USE_SSL = False
INSTALLED_APPS = (
'hyperkitty',
'postorius',
'django_mailman3',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
# 'django.contrib.admindocs',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'django_gravatar',
'paintstore',
'compressor',
'haystack',
'django_extensions',
'django_q',
'allauth',
'allauth.account',
'allauth.socialaccount',
#'django_mailman3.lib.auth.fedora',
#'allauth.socialaccount.providers.openid',
#'allauth.socialaccount.providers.github',
#'allauth.socialaccount.providers.gitlab',
#'allauth.socialaccount.providers.google',
)
4 years, 8 months
Re: Mailman 3 installation, no mails in hyperkitty, unable to add footer.
by Mark Sapiro
On 8/23/19 8:11 AM, ugniusviln(a)gmail.com wrote:
> I have read documentation, but still have stupid questions, could You please help, because I can't make it working. I do not understand something important. I have no experience with python at all. I have mailman 3, python 3.5 in my debian OS system, and additional packages like uwsgi and ect. using https://buildmedia.readthedocs.org/media/pdf/gnu-mailman/latest/gnu-mailman… about till chapter 6. I understand mailman suite has hyperkitty already. But I am not sure about:
>
> 1. Does mailman-suite have hyper-kitty inside? Because if I run $python manage.py runserver - it runs. In installed it under dedicated OS user home and fonfigured to run.
> I can create lists, event add lists to hyperkitty page using: $django-admin runjob new_lists_from_mailman list server sends messages to list members as well. But nothing happens more. No emails come to hyperkitty, arciver log 0 size.
> $ python manage.py runjobs -l shows the lists of the jobs, so seems nothing to add.
How exactly did you install Mailman? The document you reference gives
alternatives. You don't say exactly what you did.
> 2. If I (using Postorius web interface) add footer template to my list under regular message, something strange happens. Mailman stops to send messages for list members. No any entries in the logs. Just Mailman log writes: "unable to connect localhost port 25" and no more explanation. If I delete list's footer template (web interface), mailman starts working again. What is bad here? How to add custom footer? In mailman 2 if was working so good and was easy to setup.
It appears that no MTA is listening on localhost port 25. Is your MTA
even running? It is extremely unlikely that this has anything to do with
adding a termplate in Postorius.
You might be better off installing Debian's 'mailman3-full' package
<https://packages.debian.org/search?keywords=mailman3-full&searchon=names&su…>.
--
Mark Sapiro <mark(a)msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
6 years, 2 months
Still unable to get mailman3 working on Ubuntu 20.04 LTS
by Stephen J. Turnbull
Michael Heseltine writes:
> and type in the password listed in settings_local.py,
All of the settings*.py files are for Django, that is, for Postorius
and HyperKitty.
Configuration of Mailman 3 core is mostly done in .cfg files,
typically in /etc/mailman but I don't know about the instructions
you're following. From docs/database.rst:
You would then need to set both the `class` and `url` variables in
`mailman.cfg` like so::
[database]
class: mailman.database.postgresql.PostgreSQLDatabase
url: postgres://myuser:mypassword@mypghost/mailman
The "class" line is verbatim. In the "url" line the words beginning
with "my" are dummies that you need to replace with the appropriate
values.
Howto_Install_Mailman3_On_Debian10 provides a template for mailman.cfg
which you may want to copy and customize at least the passwords)
Steve
3 years, 9 months
cannot import name 'parse_header' from 'django.http.multipartparser
by Stefan Bauer
Dear Users,
i recently tried to upgrade to latest MM3 and followed this[1] steps.
However
(venv) $ mailman-web migrate
fails with:
from rest_framework import mixins, views
File "/opt/mailman/venv/lib/python3.10/site-packages/rest_framework/views.py",
line 15, in <module>
from rest_framework.request import Request
File "/opt/mailman/venv/lib/python3.10/site-packages/rest_framework/request.py",
line 17, in <module>
from django.http.multipartparser import parse_header
ImportError: cannot import name 'parse_header' from
'django.http.multipartparser'
(/opt/mailman/venv/lib/python3.10/site-packages/django/http/multipartparser.py)
(venv) mailman@edmmal03$ vi
/opt/mailman/venv/lib/python3.10/site-packages/django/http/multipartparser.py
Could this be a broken dependency?
However I got no errors during
(venv) $ pip install -U mailman postorius django-mailman3 hyperkitty mailman-web
Log here[2]
Any help is greatly appreciated.
Thank you.
[1] https://docs.mailman3.org/en/latest/upgrade-3.2.html
[2]
https://nopaste.boris.sh/#XQAAAQCyQAAAAAAAAAAUHYinEVmYO1nmXgjfXeN/2+F2nR7ib8+aroH2BRQb6TN1QTkpiu4cw9JJL55OI9JmmIdaOopbd7jPBVeOhc446nWh65PbRcOQu27P9o2ybMeUQoVgw22CT3QYBQ9uklS8h5JrAjxIM+6X+gFBWn5E2kwmYszTAaLWVqvhMfTLmTLM4XyxfZrEYdaSC3/CZJgSRXYED2aMIvgiCpPeUzhA4HZM3ACJKj8yEBOIY+CNlMD7vfwDn1jsActZ24WmwZc2cj0Bad8MHRVcXZ67wlbgFFhd15M+TkFv+/QayJcZPOL+iJmb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PBooM6jFo//JgwzNgVjypUSyiWlbzf0tCuU=
7 months, 3 weeks
Mailman 3 Internationalization setup
by Abhilash Raj
Hi All,
Mailman 3 is now setup for continuous internationalization. We are using Hosted Weblate[1], which is the hosted service for the Weblate project[2]. It is actually quite nice and I've been learning how to properly document a Django project from it's documentation.
Which brings me to it's documentation. Weblate has great documentation for translators[2]. The UI pretty simple and should be easy to navigate around.
We have setup the workflow in a way that each commit in Gitlab generates a webhook and updates Weblate. Weblate is then able to pull all the changes in real time. To pull translations back into Gitlab, I have a custom script running every night that pulls translations (as commits) and generates pull requests against the upstream repos.
Weblate has the ability to automatically push the translations back, but for security reasons, I didn't want to give a 3rd party service direct push access to our repos. I've been working on a Patch to Weblate[3], which would allow it to send translations as Merge Requests (as compared to direct-push). After it is merged and deployed at hosted.weblate.org, I hope I can retire my custom script.
We have setup the following projects:
- Mailman Core (https://hosted.weblate.org/projects/gnu-mailman/mailman/)
- Postorius* (https://hosted.weblate.org/projects/gnu-mailman/translations/)
- Hyperkitty (https://hosted.weblate.org/projects/gnu-mailman/hyperkitty/)
- Django-mailman3 (https://hosted.weblate.org/projects/gnu-mailman/django-mailman3/)
There should be empty .po files generated for most languages supported by Django and Mailman Core. If there are any questions or bugs related to source strings, please send out an email to mailman-developers(a)python.org.
The current translation %age is pretty low, hopefully we'll be ale to get it close to Mailman 2 sometime soon :)
[1]: https://hosted.weblate.org/projects/gnu-mailman/
[2]: https://docs.weblate.org/en/latest/user/translating.html
[3]: https://github.com/WeblateOrg/weblate/pull/3024
[*] Yeah, the URL for Postorius is a bit weird, because it was called "translations" before. At the time, I didn't know the difference between a project and a translation component in Weblate terminologies. And they don't give out permissions to change the URL, so we're maybe stuck with it.
--
thanks,
Abhilash Raj (maxking)
6 years
Re: at the finish line of mailman3 docker, but can't sign in.
by Abhilash Raj
On Fri, Jul 30, 2021, at 12:23 PM, bob B wrote:
> ok
>
> ./manage was the piece I was missing so getting closer :).
>
> I set the MAILMAN_ADMIN_EMAIL in the .yaml, but what url do I use to login ?
>
>
> http://mailman.domain.com/postorius/lists/. **This url does not like
> the email address I used for forget password.
Your email has to be confirmed by Postorius for you to login at /accounts/login.
MAILMAN_ADMIN_EMAIL requires you to go through the forgot password
process to set an actual password, it doesn't set a default password.
If you email setup is broken for some reason and you can't get it working, one
thing you could do is ask Django to simply print the outgoing emails to stdout by
adding the following to the settigns_local.py (and restarting mailman-web
container):
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
You can find the emails in `docker logs mailman-web` output (or whatever the
command for container's stdout is) and click on the link to verify and login
into your account.
> or
> http://mailman.domain.com/admin **** this url has no
> password reset option
To reset, you want to go to /accounts/password/reset/. URL should be findable
from the Sign In page.
>
> I added that environment variable "MAILMAN_ADMIN_EMAIL" after i already
> upped my containers,
>
> But I then ran "docker-compose down" then "docker-compse up -d". Does
> that reload and setup everything again? or could that be the issue?
It reloads the configuration, but the admin is created in database, so that isn't
re-created.
>
>
> When I tried to send the test email it said "socket.gaierror: [Errno
> -2] Name does not resolve" sp maybe my mailman-web container can get
> dns???
Yeah, seems like something is wrong with the DNS setup there.
What version of container images are you using?
Also, what is the value of SMTP_HOST? Do you have that setup to point
to the MTA?
--
thanks,
Abhilash Raj (maxking)
4 years, 2 months