Your message dated Wed, 13 Jan 2021 22:18:32 +0000
with message-id <[email protected]>
and subject line Bug#968371: fixed in mailman3 3.3.2-1
has caused the Debian Bug report #968371,
regarding mailman3: NNTP Gateway'ing fails and causes message to not go out via
email either
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
968371: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968371
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mailman3
Version: 3.2.1-1
Severity: important
Dear Maintainer,
After importing lists from Mailman2.1 using the 'import21' module I
automatically had one list with settings to gateway to NNTP as expected.
Any email to that list with that configuration fails:
---------------------------------------------------------------------------
Aug 12 17:00:38 2020 (5717) ACCEPT: <[email protected]>
Aug 12 17:06:17 2020 (5717) ACCEPT: <[email protected]>
Aug 12 17:06:18 2020 (5721) [email protected] invalid FilterAction: discard
. Treating as discard
Aug 12 17:06:18 2020 (5721) <[email protected]> discarded
by "default-posting-pipeline" pipeline handler "mime-delete": The message's con
tent type was not explicitly allowed
Aug 12 17:06:18 2020 (5721) Uncaught runner exception: 'MailingList' object has
no attribute 'nntp_host'
Aug 12 17:06:18 2020 (5721) Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mailman/core/runner.py", line 173, in
_one_iteration
self._process_one_file(msg, msgdata)
File "/usr/lib/python3/dist-packages/mailman/core/runner.py", line 266, in
_process_one_file
keepqueued = self._dispose(mlist, msg, msgdata)
File "/usr/lib/python3/dist-packages/mailman/runners/pipeline.py", line 37,
in _dispose
process(mlist, msg, msgdata, pipeline)
File "/usr/lib/python3/dist-packages/mailman/core/pipelines.py", line 50, in
process
handler.process(mlist, msg, msgdata)
File "/usr/lib/python3/dist-packages/mailman/handlers/to_usenet.py", line 53,
in process
if not mlist.nntp_host:
AttributeError: 'MailingList' object has no attribute 'nntp_host'
---------------------------------------------------------------------------
This immediate problem is addressed upstream by:
59d8b47c432e43ce463cbb4a7aec649415d08702
Applying just the change to remove that conditional in to_usenet.py gets
past that point (and messages now make it out in email), but then the
code runs into another problem:
---------------------------------------------------------------------------
Aug 13 17:44:26 2020 (15817) ACCEPT: <[email protected]>
Aug 13 17:44:27 2020 (15814) HyperKitty archived message <20200813164426.GA15940
@fysh.org> to https://www.fysh.org/mailman3/hyperkitty/list/[email protected]/me
ssage/OMXF2QRUZLZPO3WFZMXDBSW4QZTWO5HJ/
Aug 13 17:44:28 2020 (15819) <[email protected]
.org> NNTP unexpected exception for [email protected]
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/mailman/runners/nntp.py", line 77, in _di
spose
conn.post(fp)
File "/usr/lib/python3.7/nntplib.py", line 916, in post
return self._post('POST', data)
File "/usr/lib/python3.7/nntplib.py", line 902, in _post
if not line.endswith(_CRLF):
TypeError: endswith first arg must be str or a tuple of str, not bytes
---------------------------------------------------------------------------
Which appears to either be an error in nntplib, or a mis-use of it.
I'm running this on a production machine so can't easily play with
running mailman3 from source to see if they've fixed this upstream. I
might find time to try it out on another machine.
-- System Information:
Debian Release: 10.5
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.138-fysh-kvmguest (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages mailman3 depends on:
ii dbconfig-sqlite3 2.0.11+deb10u1
ii debconf [debconf-2.0] 1.5.71
ii logrotate 3.14.0-4
ii lsb-base 10.2019051400
ii python3 3.7.3-1
ii python3-aiosmtpd 1.2-3
ii python3-alembic 1.0.0-3
ii python3-click 7.0-1
ii python3-dnspython 1.16.0-1
ii python3-falcon 1.0.0-2+b3
ii python3-flufl.bounce 3.0-1
ii python3-flufl.i18n 2.0.1-1
ii python3-flufl.lock 3.2-1
ii python3-lazr.config 2.2-1
ii python3-passlib 1.7.1-1
ii python3-psycopg2 2.7.7-1
ii python3-public 0.5-1
ii python3-requests 2.21.0-1
ii python3-sqlalchemy 1.2.18+ds1-2
ii python3-zope.component 4.3.0-1
ii python3-zope.configuration 4.0.3-3
ii python3-zope.event 4.2.0-1
ii python3-zope.interface 4.3.2-1+b2
ii ucf 3.0038+nmu1
Versions of packages mailman3 recommends:
ii exim4-daemon-heavy [mail-transport-agent] 4.92-8+deb10u4
Versions of packages mailman3 suggests:
ii chromium [www-browser] 83.0.4103.116-1~deb10u3
ii elinks [www-browser] 0.13~20190125-3
ii links [www-browser] 2.18-2
ii links2 [www-browser] 2.18-2
ii lynx [www-browser] 2.8.9rel.1-3
ii mailman3-doc 3.2.1-1
ii mariadb-server-10.3 [virtual-mysql-server] 1:10.3.23-0+deb10u1
ii w3m [www-browser] 0.5.3-37
-- debconf information:
mailman3/upgrade-backup: true
mailman3/pgsql/authmethod-user: ident
mailman3/pgsql/manualconf:
mailman3/internal/reconfiguring: false
* mailman3/dbconfig-install: false
mailman3/install-error: abort
mailman3/init_service_failed:
mailman3/pgsql/changeconf: false
mailman3/db/dbname: mailman3
mailman3/remote/host: localhost
mailman3/remove-error: abort
mailman3/mysql/admin-user:
mailman3/upgrade-error: abort
mailman3/remote/port:
mailman3/pgsql/admin-user: postgres
mailman3/missing-db-package-error: abort
mailman3/dbconfig-upgrade: true
mailman3/remote/newhost:
mailman3/internal/skip-preseed: false
mailman3/db/app-user: mailman3@localhost
mailman3/purge: false
mailman3/database-type: pgsql
mailman3/pgsql/authmethod-admin: ident
mailman3/pgsql/no-empty-passwords:
mailman3/db/basepath:
mailman3/pgsql/method: TCP/IP
mailman3/mysql/method: Unix socket
mailman3/dbconfig-remove: true
mailman3/dbconfig-reinstall: false
mailman3/passwords-do-not-match:
mailman3/config_hyperkitty:
-- debsums errors found:
debsums: changed file
/usr/lib/python3/dist-packages/mailman/handlers/to_usenet.py (from mailman3
package)
--- End Message ---
--- Begin Message ---
Source: mailman3
Source-Version: 3.3.2-1
Done: Jonas Meurer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mailman3, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jonas Meurer <[email protected]> (supplier of updated mailman3 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 03 Jan 2021 21:20:45 +0100
Source: mailman3
Architecture: source
Version: 3.3.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Mailman Team <[email protected]>
Changed-By: Jonas Meurer <[email protected]>
Closes: 958976 958977 960072 968371 968817 977935 978959
Changes:
mailman3 (3.3.2-1) unstable; urgency=medium
.
[ Daniel Kahn Gillmor ]
* d/mailman3.logrotate: use mailman-wrapper instead of mailman binary
after logrotate's job. (Closes: #958977)
.
[ Pierre-Elliott Bécue ]
* New upstream release 3.3.1. (Closes: #958976, #960072, #968371)
* Update dependencies and patches for the new upstream release
.
[ Jonas Meurer ]
* New upstream release 3.3.2. (Closes: #968817, #977935)
* d/mailman3.cron.d: (Closes: #978959)
- Fix cronjob for digests
- Add cronjob for sending out pending moderation notifications
- Add cronjob for gating messages from usenet to mailinglists
* d/control:
- Bump Standards-Version to 4.5.1
- Remove versioned build-dependency on python3-falcon
- Add build-dependency on python3-sphinx-rtd-theme
- Add build-dependency on python3-importlib-resources
* d/p/0002-remove_importlib_resources_dependency.patch: Remove, the Debian
package now uses `importlib_resources` just like mailman3 upstream.
* d/p/0003-remove_sphinxcontrib.zopeext_dependency.patch: New patch to
remove build-dependency on `sphinxcontrib-zopeext`
* d/p/0004-add_missing_sphinx_configplugin.patch: New patch to add the
missing custom sphinx plugin `configplugin`
* d/mailman3.lintian-overrides: Ignore warnings about testing files
* d/p/0005-fix_template_permissions.patch: Fix permissions of italian
template translation files.
* d/mailman3.postinst: Replace deprecated `tempfile` with `mktemp`
Checksums-Sha1:
7ca18174d100c633e24f039229b31bf8ce453dab 2939 mailman3_3.3.2-1.dsc
b5a3a964abf770020b388a6b87394006c52493b9 1396750 mailman3_3.3.2.orig.tar.gz
4cc95a8416324f78d705c6fe613b40c16f9bdc57 833 mailman3_3.3.2.orig.tar.gz.asc
950907e90a86465f3ec21282f5d6db1aaf930918 28740 mailman3_3.3.2-1.debian.tar.xz
1377b090956be8d22bae9780c624377728fc1b20 9580 mailman3_3.3.2-1_amd64.buildinfo
Checksums-Sha256:
87f89228bc2da3e5c7cfd2c9137a5443ffa635fb8b8dffcce2924d1f3766c620 2939
mailman3_3.3.2-1.dsc
af01971a6abd9002211ced964c650066f6451ab8fa967b16127e3088dc9aac28 1396750
mailman3_3.3.2.orig.tar.gz
29d16aac3297aa145cfe822ea031d6ba8e530e97ff01c7a9a7a5a335d78707cd 833
mailman3_3.3.2.orig.tar.gz.asc
e701dd466e43097e43432f4e76014af0e2fc8dfc4a3e65acb56f8daa98559023 28740
mailman3_3.3.2-1.debian.tar.xz
b918c7e0a391913c45a5fc7d9718b24e35ef2cf4cbc8c41308bd11a4da0fb760 9580
mailman3_3.3.2-1_amd64.buildinfo
Files:
9044ffb2d2f30f5ff22d47b73a4baadc 2939 mail optional mailman3_3.3.2-1.dsc
3ccf891602708c9b9ad4d58ea9213f9d 1396750 mail optional
mailman3_3.3.2.orig.tar.gz
a7f6c4068c48c1b52c141ed747e5b759 833 mail optional
mailman3_3.3.2.orig.tar.gz.asc
9d0e7b80d99440f7e28e7f1e8fe26ea1 28740 mail optional
mailman3_3.3.2-1.debian.tar.xz
da8837a024a7b42065fc4e02447e9484 9580 mail optional
mailman3_3.3.2-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEELIzSg9Pv30M4kOeDUmLn/0kQSf4FAl//b4wACgkQUmLn/0kQ
Sf6wQhAAhD9LsdBvJp3QqSRz2vsZsOTzQ8TmQKLValPBjThhELArJTqxVvXOiPFz
apYlGGjtEQfw5S/TjF3bPxS7etEgB4BPItip+ebymX2XxsbTuEryKMdyIfBrGzeC
EnEv6Sv+A/kFJGF98LunZ8IgQMoGjPtB1DWXLGGhUZ6mjrEwi/VrxBfM7xghGAc9
sWrWurvN1J64IGDiFB0ZHUqMtkLuXiazDVTumKGShAPUO+DvhHVzcioapFM91Fck
8IZJJXKIfDkSp3xhRMVT89UzMNyJS6HIPTElK67VysG4pT8USVivoVeO2wr1Ys+Z
kmvRYvWBjAaR/68naDMF7bH8NNrmRgVLO9gdo7QwYOqelLyR3a+EkdIRqfrID8go
gTMeGsg9zwpBmOmPlD0HZqyalpdWsChwDXxKVZTefo+Yf5EiwX+mECy9Wb2mouu8
mwhlhuEMP9DAKEPPTUBeq0t1krSOoLIfHxwW/E1Lv+1HAi49Xk4p187lQPX5GN4f
70V6FFMffKRUYojneAYT1R2J/L0yU0VIwsjRwW5YMFXRmPMOeRCaIN1HkwhK1gHO
4+vjnKP84YrZF08hYaNjfi2SNCUxJN8pT9lUQpkUPSh5zEgyf+sfVWTU8D3AnEVb
4RzVD2dK+at0QWYa6pO9DLdwTUfxNG6MBLFiHgDxscrJmAJIReg=
=xJtG
-----END PGP SIGNATURE-----
--- End Message ---