I am trying to install Mailman 3 from source using:
https://docs.mailman3.org/en/latest/index.html
My first question is where is the best place to get assistance or ask questions regarding the installation process? I am not sure if mailman-users is that place anymore.
Thanks,
Brian
We notice that sometimes mailing lists do not honor moderation_action of non-members. Instead, it follows the default action of the lists. It looks like we can sometimes fix the issue by adding/removing the non-members or adding/removing them as owner in certain order but we are not sure about exactly what we have to do. So, it looks like that it is not caused by the list configuration. We have already verified from the web UI, mailman client and the DB table member that moderation_action of the corresponding non-members are set correctly. Any clues for us to provide further information to troubleshoot the issue and any recommended workaround to get around the issue? Thanks a lot.
GNU Mailman 3.2.0 (La Villa Strangiato):
A list administrator asked me why some people is subscribed with full name and some are not, when he is mass subscribing people using the format John Doe john.doe(a)example.com. He had experienced this a lot of times.
I tested this several times on my test lists, and one member, who already had his name registrered in Account (Postorius top right), and thus also in Django, kept being subscribed without real name, while the others was subscribed with full name in Members -> Subscribers.
It seems (I’m not certain about this) that the one’s without real name is the one’s already having an account and thus registred in Django (admin/auth/user/), while the ones subscribed with full name associated is the ones not having an account already.
However, as soon as the member (the one with the account) went to Account and changed his real name, the name was immediately associated with the subscription in Members -> Subscribers.
I expect this to be by design, but why isn’t the name associated with the subscription when mass subscribing in the first place, taken from the account?
Henrik Rasmussen
For about a week now, I am seeing very high server loads and it seems to have something to do with the following process hanging:
uwsgi --ini /opt/mailman-web/uwsgi.ini
I am using the docker version of Mailman. When this process hangs, the server load just goes sky high and both Postorius and Hyperkitty no longer responds. I don't have very many sites on this server and I am running about 30 lists. I really need some assistance here as this needs to be fixed. I am seeing nothing in the logs that is explaining why this process is hanging and why the server load goes through the roof.
Running docker-compose restart mailman-web kills the hanged process and the server load goes down. Postorius and Hyperkitty starts responding again. This seems to happen once a day.
Brian
Hi, new member here doing some research for my boss. Does Mailman 3 allow
HTML rendering in the moderation queue, or only plain text? I'm asking
because our list mod doesn't have time to check each image in a submission
individually, so we currently don't allow images, but the boss wants to
allow them.
So since I upgraded to Mailman3 recently, I’m getting reports of mangled digests even with with plaintext digests turned on. Running 3.2.1 from the ubuntu packages.
This list was imported from mailman 2.1.x.
Example below.
Any thoughts on how to fix this?
- Mark
-----
mark(a)pdc-racing.net | 408-348-2878
From: tr*****-request(a)pdc-racing.net <mailto:trackjunkies-request@pdc-racing.net>
Subject: tr***** Digest, Vol 267, Issue 464
Date: October 19, 2019 at 5:49:46 PM PDT
To: tr*****(a)pdc-racing.net <mailto:trackjunkies@pdc-racing.net>
Reply-To: tr*****(a)pdc-racing.net <mailto:trackjunkies@pdc-racing.net>
Send tr***** mailing list submissions to
tr*****(a)pdc-racing.net <mailto:trackjunkies@pdc-racing.net>
To subscribe or unsubscribe via email, send a message with subject or
body 'help' to
tr*****-request(a)pdc-racing.net <mailto:trackjunkies-request@pdc-racing.net>
You can reach the person managing the list at
tr*****-owner(a)pdc-racing.net <mailto:trackjunkies-owner@pdc-racing.net>
When replying, please edit your Subject line so it is more specific
than "Re: Contents of tr***** digest..."
Today's Topics:
1. Re: PGE phasing out EV-A (XXXXX)
----------------------------------------------------------------------
Date: Sun, 20 Oct 2019 00:49:38 +0000
From: XXXXX
Subject: [PDC] Re: PGE phasing out EV-A
To: tr***** - The Single Biggest Drag On US GDP
<tr*****(a)pdc-racing.net <mailto:trackjunkies@pdc-racing.net>>
Message-ID: <0bca2bfb8e294ea5b910d7ae6d2a698c(a)Progent.com <mailto:0bca2bfb8e294ea5b910d7ae6d2a698c@Progent.com>>
Content-Type: multipart/related;
boundary="_005_0bca2bfb8e294ea5b910d7ae6d2a698cProgentcom_";
type="multipart/alternative"
--_005_0bca2bfb8e294ea5b910d7ae6d2a698cProgentcom_
Content-Type: multipart/alternative;
boundary="_000_0bca2bfb8e294ea5b910d7ae6d2a698cProgentcom_"
--_000_0bca2bfb8e294ea5b910d7ae6d2a698cProgentcom_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
SGVyZSBhcmUgdGhlIFNNVUQgcmF0ZXMuIFNvY2lhbGlzbSB3b3JrcyENCg0KVGltZS1vZi1EYXkg
KDUtOCBwLm0uKSBSYXRlIGRldGFpbHMNCiBOb24tc3VtbWVyDQpPY3RvYmVyIDEgLSBNYXkgMzEN
Ck9mZi1wZWFrDQpNaWRuaWdodCDigJMgNSBwLm0uDQokMC4wOTY5IGtXaA0KQWxsIGRheSB3ZWVr
ZW5kcyBhbmQgaG9saWRheXMNClBlYWsNCjUgcC5tLiDigJMgOCBwLm0uDQokMC4xMzM4IGtXaA0K
T2ZmLXBlYWsNCjggcC5tLiAtIG1pZG5pZ2h0DQokMC4wOTY5IGtXaA0KIFN1bW1lcg0KSnVuZSAx
IC0gU2VwdGVtYmVyIDMwDQpPZmYtcGVhaw0KTWlkbmlnaHQg4oCTIG5vb24NCiQwLjExNjYga1do
Etc.
Hi list,
I set up a mailman3 server and built a few lists to test.
When I set the list name using Chinese characters, the web site shows
correctly. However in the subscribing welcome mail the list name was
shown in question marks. Screenshot is here:
https://nextcloud.slat.org/index.php/s/CxPjpYMbQzQ6444
The LANGUAGE_CODE settings.py (in Debian /etc/mailman3/mailman-web.py)
is set to zh-tw , and USE_I18N and USE_L10N are all set to True.
Is there any other setting I should look at?
Thanks,
Franklin
Anyone seen this before? This is the result of any search query I run. I installed ElasticSearch as the search engine yesterday and this is the result. It is still indexing (large archives).
Mailman 3.2.1 from the debian packages in Ubuntu 19.10.
- Mark
-----
mark(a)pdc-racing.net | 408-348-2878
Begin forwarded message:
From: root(a)pdc-racing.net
Subject: [Django] ERROR (EXTERNAL IP): Internal Server Error: /mailman3/hyperkitty/search
Date: October 22, 2019 at 7:44:49 AM PDT
To: mark(a)pdc-racing.net
Internal Server Error: /mailman3/hyperkitty/search
UnboundLocalError at /hyperkitty/search
local variable 'search_exception' referenced before assignment
Request Method: GET
Request URL: https://mail.pdc-racing.net/mailman3/hyperkitty/search?q=Ken
Django Version: 1.11.22
Python Executable: /usr/bin/uwsgi-core
Python Version: 3.7.5
Python Path: ['.', '', '/usr/lib/python37.zip', '/usr/lib/python3.7', '/usr/lib/python3.7/lib-dynload', '/usr/local/lib/python3.7/dist-packages', '/usr/lib/python3/dist-packages']
Server time: Tue, 22 Oct 2019 14:44:49 +0000
Installed Applications:
('hyperkitty',
'postorius',
'django_mailman3',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'django_gravatar',
'compressor',
'haystack',
'django_extensions',
'django_q',
'allauth',
'allauth.account',
'allauth.socialaccount',
'django_mailman3.lib.auth.fedora')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django_mailman3.middleware.TimezoneMiddleware',
'postorius.middleware.PostoriusMiddleware')
Traceback:
File "/usr/lib/python3/dist-packages/django/core/paginator.py" in count
79. return self.object_list.count()
File "/usr/lib/python3/dist-packages/haystack/query.py" in count
522. return len(self)
File "/usr/lib/python3/dist-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/usr/lib/python3/dist-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/usr/lib/python3/dist-packages/haystack/backends/elasticsearch_backend.py" in run
951. results = self.backend.search(final_query, **search_kwargs)
File "/usr/lib/python3/dist-packages/haystack/backends/__init__.py" in wrapper
33. return func(obj, query_string, *args, **kwargs)
File "/usr/lib/python3/dist-packages/haystack/backends/elasticsearch_backend.py" in search
524. _source=True)
File "/usr/local/lib/python3.7/dist-packages/elasticsearch/client/utils.py" in _wrapped
84. return func(*args, params=params, **kwargs)
During handling of the above exception (search() got an unexpected keyword argument 'doc_type'), another exception occurred:
File "/usr/lib/python3/dist-packages/hyperkitty/views/search.py" in search
90. request.GET.get('count'),
File "/usr/lib/python3/dist-packages/django_mailman3/lib/paginator.py" in paginate
72. objects = paginator.page(page_num)
File "/usr/lib/python3/dist-packages/django/core/paginator.py" in page
57. number = self.validate_number(number)
File "/usr/lib/python3/dist-packages/django/core/paginator.py" in validate_number
46. if number > self.num_pages:
File "/usr/lib/python3/dist-packages/django/utils/functional.py" in __get__
35. res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python3/dist-packages/django/core/paginator.py" in num_pages
91. if self.count == 0 and not self.allow_empty_first_page:
File "/usr/lib/python3/dist-packages/django/utils/functional.py" in __get__
35. res = instance.__dict__[self.name] = self.func(instance)
File "/usr/lib/python3/dist-packages/django/core/paginator.py" in count
84. return len(self.object_list)
File "/usr/lib/python3/dist-packages/haystack/query.py" in __len__
86. self._result_count = self.query.get_count()
File "/usr/lib/python3/dist-packages/haystack/backends/__init__.py" in get_count
619. self.run()
File "/usr/lib/python3/dist-packages/haystack/backends/elasticsearch_backend.py" in run
951. results = self.backend.search(final_query, **search_kwargs)
File "/usr/lib/python3/dist-packages/haystack/backends/__init__.py" in wrapper
33. return func(obj, query_string, *args, **kwargs)
File "/usr/lib/python3/dist-packages/haystack/backends/elasticsearch_backend.py" in search
524. _source=True)
File "/usr/local/lib/python3.7/dist-packages/elasticsearch/client/utils.py" in _wrapped
84. return func(*args, params=params, **kwargs)
During handling of the above exception (search() got an unexpected keyword argument 'doc_type'), another exception occurred:
File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/hyperkitty/views/search.py" in search
100. if not isinstance(e, search_exception):
Exception Type: UnboundLocalError at /hyperkitty/search
Exception Value: local variable 'search_exception' referenced before assignment
Request information:
USER: admin
GET:
q = 'Ken'
POST: No POST data
FILES: No FILES data
Hi all,
our University has various departments and research projects and teams. Each of them might want more than one mailing list.
It would be straight forward to create mailing lists such as:
<list-name>@lists.mydomain.ch
Example: In this case "digital" is an entity / Project / Department
marketing.digital(a)lists.zhaw.ch<mailto:marketing.digital@lists.zhaw.ch>
newsletter.digital(a)lists.zhaw.ch<mailto:newsletter.digital@lists.zhaw.ch>
research.digital(a)lists.zhaw.ch<mailto:research.digital@lists.zhaw.ch>
Other Examples might be:
help.health(a)lists.zhaw.ch
newsletter.health(a)lists.zhaw.ch
research.health(a)lists.zhaw.ch<mailto:research.health@lists.zhaw.ch>
If entities have more than one mailing list, it is required to build a stronger "mailing list identity", it is required to let the "entity" be part of the domain name:
marketing(a)digital.lists.zhaw.ch
newsletter@digital@lists.zhaw.ch
career(a)health.lists.zhaw.ch
newsletter(a)health.lists.zhaw.ch
career(a)ict.lists.zhaw.ch
support(a)ict.lists.zhaw.ch
The University of Zurich (uzh.ch) does this as well and it looks very reasonable and useful to me:
https://lists.uzh.ch/sympa/ca/domainshttps://business.lists.uzh.ch/sympahttps://dqbm.lists.uzh.ch/sympahttps://chess.lists.uzh.ch/sympa
I have setup this mailing list test(a)digital.lists.zhaw.ch<mailto:test@digital.lists.zhaw.ch> but subscribing failed.
* Subscribing via the Mass Import Form failed with a Server Error message in the browser.
* Subscribing via e-mail test-join(a)digital.lists.zhaw.ch<mailto:test-join@digital.lists.zhaw.ch> because no response came from MM3.
The mail to join has been delivered properly to MM3 but MM3 has swallowed the mail w/o response or error message. There also has not been any pending subscription.
2019-10-23T19:51:33.678705+02:00 svma-s-01321 postfix/smtpd[98348]: connect from srv-mail-013.zhaw.ch[160.85.104.123]
2019-10-23T19:51:33.692258+02:00 svma-s-01321 postfix/smtpd[98348]: A8EFC3FA6A: client=srv-mail-013.zhaw.ch[160.85.104.123]
2019-10-23T19:51:33.693192+02:00 svma-s-01321 postfix/cleanup[98351]: A8EFC3FA6A: message-id=<eb90deb6-58af-a873-3382-c27ce6d05031(a)anydomain.org>
2019-10-23T19:51:33.704102+02:00 svma-s-01321 postfix/qmgr[90603]: A8EFC3FA6A: from=<name(a)anydomain.org>, size=5329, nrcpt=1 (queue active)
2019-10-23T19:51:33.704864+02:00 svma-s-01321 postfix/smtpd[98348]: disconnect from srv-mail-013.zhaw.ch[160.85.104.123] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5
2019-10-23T19:51:33.763670+02:00 svma-s-01321 postfix/lmtp[98352]: A8EFC3FA6A: to=<test-join(a)digital.lists.zhaw.ch>, relay=127.0.0.1[127.0.0.1]:8024, delay=0.08, delays=0.02/0.01/0/0.05, dsn=2.0.0, status=sent (250 Ok)
2019-10-23T19:51:33.764485+02:00 svma-s-01321 postfix/qmgr[90603]: A8EFC3FA6A: removed
2019-10-23T19:52:29.278529+02:00 svma-s-01321 postfix/smtpd[98348]: table hash:/var/lib/mailman3/data/postfix_lmtp(0,lock|fold_fix|utf8_request) has changed -- restarting
2019-10-23T19:52:29.286154+02:00 svma-s-01321 postfix/smtpd[98558]: connect from localhost[127.0.0.1]
2019-10-23T19:52:29.288612+02:00 svma-s-01321 postfix/cleanup[98351]: table hash:/var/lib/mailman3/data/postfix_domains(0,lock|utf8_request) has changed -- restarting
2019-10-23T19:52:29.292655+02:00 svma-s-01321 postfix/smtpd[98558]: 476AD3FA6A: client=localhost[127.0.0.1]
2019-10-23T19:52:29.293671+02:00 svma-s-01321 postfix/cleanup[98559]: 476AD3FA6A: message-id=<157185314763.94537.10517326910475727036(a)svma-s-01321.zhaw.ch>
2019-10-23T19:52:29.296393+02:00 svma-s-01321 postfix/qmgr[90603]: table hash:/var/lib/mailman3/data/postfix_domains(0,lock|utf8_request) has changed -- restarting
2019-10-23T19:52:29.298231+02:00 svma-s-01321 postfix/smtpd[98558]: disconnect from localhost[127.0.0.1] ehlo=1 mail=1 rcpt=1 data=1 commands=4
I'd be grateful for a useful hint what is going wrong here?
Kind regards,
Uri Liebeskind
--
------------------------------------
Zurich University of Applied Sciences
Information and Communication Technology
Uri Liebeskind
System Administrator
Gertrudstrasse 15
Postfach 805
CH-8401 Winterthur
Tel. +41 58 934 72 63
Fax. +41 58 935 72 63
http://www.zhaw.ch/en/
-------------------------------------