Temporary space for files related to customised GNU Mailman
Japanese enhanced Mailman (POEM ver.)
To build and run, you will need some 3rd party Python modules. Please see
'Python modules required by Japanese enhanced Mailman'
section below for detail.
Souce files and packages (sources and binaries)
For latest source code, please see repository on launchpad.net
lp:~futatuki/mailman/2.1-japan-poem.
(latest is rev 1680 on Feb 12, 2024)
Note that sometimes newest source code on the repository is not tested
after merge from upstream semi-automatically. Be careful to use.
Souce code and binary package of modified version of GNU Mailman here
is distributed under
GNU Public License.
FreeBSD port shar file is distributed under BSD 2-clause License,
just same as FreeBSD license.
Important
Since 2.1.23+j3, we are preparing to introduced new language setting
ja_JP.eucJP and ja_JP.UTF-8, for swiching codeset of ja language
setting mildly. Those are default off because of not enough test.
Please do not use those language settings if you don't want any trouble.
And please read
README.japan.utf-8(I'm sorry it is written in Japanese) carefully if you want to use them.
- Source file 2.1.39+j2(rev. 1680)
- mailman-2.1.39+j2.tbz2
- SRPM for RHEL 7 and its clones with patch (2.1.39+j2)
- mailman-2.1.39+j2p0-poem.el7.src.rpm
- RPM for RHEL 7 and its clones (for x86_64 arch only) (2.1.39+j2)
- mailman-2.1.39+j2p0-poem.el7.x86_64.rpm
- FreeBSD private port(tar.xz)(2.1.39+j2;testing package building only)
- mailman-jp-2.1.39.j2.p0.tar.xz
- SRPM for RHEL 6 and its clones with patch (We are sorry but old version only because we don't have build environment any more ...)
- mailman-2.1.29+j1p1-poem.el6.src.rpm
- Souce repository(launchpad)
- lp:~futatuki/mailman/2.1-japan-poem
- README for Japanese enchansed Mailman (Japanese, UTF-8)
- README.japan.utf-8
- NEWS for Japanese enchansed Mailman (Japanese, UTF-8)
- NEWS.japan.utf-8
Python modules required by Japanese enhanced Mailman (POEM ver.)
To build and run Japanese enhanced Mailman (POEM ver.), You will need
pykf module and cChardet
(or alternatively chardet) module for charset/encoding handling.
Source codes or binaries in packages are distributed under licenses
described on original sites.
pykf
- original site(OSDN)
- https://osdn.jp/projects/pykf/
- PyPI
- https://pypi.org/project/pykf/
- RPM spec file for RHEL 6 and its clones
- pykf.spec
- SRPM for RHEL 6 and its clones
- pykf-0.4-poem.el6.src.rpm
- RPM spec file for RHEL 7 and its clones
- python-pykf.spec
- SRPM for RHEL 7 and its clones
- python-pykf-0.4-poem.el7.centos.src.rpm
- RPM for RHEL 7 and its clones (for x86_64 arch only)
- python-pykf-0.4-poem.el7.centos.x86_64.rpm
- FreeBSD private port(shar)
- python-pykf-0.4,1.shar
cChardet
To build a module (or package from source file)you will need Cython
- original site(gitHub)
- https://github.com/PyYoshi/cChardet
- PyPI
- https://pypi.org/project/cchardet/
- RPM spec file for RHEL 6 and its clones
- python-cchardet-2.1.1.spec
- SRPM for RHEL 6 and its clones
- python-cchardet-2.1.1-poem.el6.src.rpm
- RPM spec file for RHEL 7 and its clones
- python-cchardet-2.1.1.spec
- SRPM for RHEL 7 and its clones
- python-cchardet-2.1.1-poem.el7.centos.src.rpm
- RPM for RHEL 7 and its clones (for x86_64 arch only)
- python-cchardet-2.1.1-poem.el7.centos.x86_64.rpm
- FreeBSD private port(shar)
- FreeBSD ports is providete official cchardet ports as text/py-cchardet. However, it already dropped Python 2.7 support. This link is for obsolete private version, but it could be used for build itpython-cchardet-2.1.1,1.shar
SRPMs for py2-ipaddress(el6)
In June 5, 2018, upstream Mailman 2.1 has implemented a feature to enable
blocking web subscribes IP addresses listed in Spamhaus SBL, CSS or XBL.
For this feature woking with IPv6, it is need that ip2-ipaddress module is
installed (not needed for IPv4 only).
The NEWS file says it can be installed via vip, but for those who
want to manage as RPMs (i.e. mainly for us),
I've made RPM source for el6, and then published.
(for el7, it can be found as python-ipaddress package in base/update repo)
- Project home(PyPI)
- https://pypi.org/project/py2-ipaddress/
- RPM spec file for RHEL 6 and its clones
- py2-ipaddress.spec
- SRPM for RHEL 6 and its clones
- py2-ipaddress-3.4.1-poem.el6.src.rpm
[Patch] Add new policy 'forbid' to subscribe policy
This extends MailList.subscribe_policy with new value 4 ... 'forbid',
rejecting all subscribe request via E-mail and via Web UI (except by list owners operation).
With 'forbid' subscribe_policy,
- it hide subscription form on list's listinfo page (by using new
template listinfo_nosubscribe.html).
- it reject all subscription request from users via Web UI and via email.
- following operations are still allowed, inspite of ban_lists rule
to prevent any email address to subscribe doesn't allow them.
- changing email address of users already subscribing both by users
themselves operations and by list owners.
- adding new member via operations by list owner or site owner.
On the other hand, the things to be worse,
- this breaks translations of some conpicious messages by modification.
- it also is needed to prepare new translated template for listinfo
page without subscription form, for all languages used by lists
(otherwise, fall back to English template if 'forbid' policy is choosed)
- new value for subscribe_policy 4 as 'forbid' may conflict with
future release of mailman 2.1 and already this value is incompatible
with current version. (to migrate list config data files from modified
version to upstream, make sure their subscribe_policy should be other
than 'forbid')
These patch are for upstream mailman 2.1.26 rev 1759 (2.1.27 release) and later
- patch to extend new policy 'forbid' for upstream rev.1815- (for release 2.1.30 and later)
- forbid-subscription-r1815-patch.txt
- patch to extend new policy 'forbid' for upstream rev.1762-rev.1814 (for release 2.1.27-2.1.29)
- forbid-subscription-r1762-patch.txt
- Bazaar repository
- lp:~futatuki/mailman/2.1-forbid-subscription
Technical detail
This introduce a new value 4 as 'Forbid' to MailList.subscribe_policy.
With MailList.subscribe_policy == 4,
- For Web UI
- reject all subscribe request
(Mailman/Cgi/subscribe.py, Mailman/HTMLFormatter.py)
- hide subscription form from listinfo page by switching template file to listinfo_nosubscribe.html
(Mailman/Cgi/listinfo.py, new template templates/en/listinfo_nosubscribe.html)
- For request via E-mail, reject all subscribe command
(Mailman/Command/cmd_subscribe.py)
- foolproof: MailList.AddMember() raise new exception
Errors.MembershipIsRejectedByPolicy()
(Mailman/Errors.py, Mailman/MailList.py)
To set new value to MailList.subscribe_policy,
- For Web UI, add new radio button and description
(Mailman/Gui/Privacy.py)
For new template
- Add menu new item for new template file
(Mailman/Cgi/edithtml.py)
For description
- Add description for new value
(Mailman/Defauilts.py.in, misc/sitelist.cfg)
[Patch] I18n of listinfo/admin overview Web UI
I've added an i18n feature to GNU Mailman's listinfo overview Web UI,
switching display language by negotiating with client language preference.
It requires a third party module
httpheader.
The patch below is against upstream Mailman 2.1.22 rev 1651 or later,
or Japanese enhanced Mailman 2.1.22+j1 rev 1508 or later, while I think
it can be applied to earier revision with some offset.
By default, language negotiation feature is enabled in listinfo overview
and disabled in admin overview. You can override them in mm_cfg.py
by setting LISTINFO_OVERVIEW_LANGUAGE_NEGOTIATION for listinfo overview,
and ADMIN_OVERVIEW_LANGUAGE_NEGOTIATION for admin overview. Set those to
Yes to enable and No to disable.
- overview i18n patch
- overview-lang-negotiation-patch.txt
- overview i18n patch (before 2.1.25 release, before 2.1.24 rev.1720)
- overview-lang-negotiation-patch-before-r1720.txt
- Bazaar repository
- lp:~futatuki/mailman/2.1-listinfo-overview-client-lang
httpheader Python module
- Project home
- httpheader Python module
- GitHub
-
- GitHub project dmeranda/httpheader
- PyPI
- https://pypi.org/project/httpheader/
- RPM spec file for RHEL 6 and its clones
- python-httpheader.spec
- SRPM for RHEL 6 and its clones
- python-httpheader-1.1-poem.el6.src.rpm
- RPM spec file for RHEL 7 and its clones
- python-httpheader.spec
- SRPM for RHEL 7 and its clones
- python-httpheader-1.1-poem.el7.centos.src.rpm
- RPM for RHEL 7 and its clones
- python-httpheader-1.1-poem.el7.centos.noarch.rpm
- FreeBSD private port(shar)
- py-httpheader-1.1.shar
Japanese translation of GNU Mailman documents
Those Japanese translation of documents has been merged into upstream
Mailman 2.1 Rev 1658
README, INSTALL, UPDATING
Files below are Japanese translation of original documents in the top
directories of source code hierachy extracted from archive.
There are old translated documents in GNU Mailman source archive file,
under messages/ja/ directory, but those have not been updated
for many years. So I updated for 2.1.22 release based on Mr. Kikuchi's work.
While charset of original translation files under messages/ja/ are
EUC-JP, those of files belows are UTF-8 for browsing.
No one has reviewed them, so reviews are welcome.
Mailman/Defaults.py.in
Although original source code archive file contains Japanese translation of
Mailman/Defaults.py.in, it is a bit old, for 2.1.9. So I tried to translate
again for 2.1.21 and latest revision.
Following links are browsing page for each revision file on launchpad.net
repository. Disappointedly file encoding EUC-JP has not been supported on
launchpad.net web view, so we can't read content of file, but it is correct
behaviour. Please down load from "download file" link in page for reading.
(Note that the file encoding is EUC-JP)
- latest (on 14 Dec 2021; for upstream rev. 1871 and later, just same as 2.1.35, 2.1.36, 2.1.37, 2.1.38 and 2.1.39 release)
- for 2.1.35, 2.1.36, 2.1.37, 2.1.38 and 2.1.39 release
- for 2.1.34 release (rev. 1859)
- for 2.1.30,2.1.31,2.1.32,2.1.33 releases
- for 2.1.28 and 2.1.29 release (rev. 1797 and 1799, respectively)
- for 2.1.27 release (for rev. 1784)
- for 2.1.26 release (for rev. 1744)
- for 2.1.25 release (for rev. 1726)
- for 2.1.24 release (for rev. 1708)
- for 2.1.23 release (for rev. 1671)
- for 2.1.21, 2.1.22(for rev. 1629)
(some untranslated comments and extra fragment of original text has left)
Following are converted to UTF-8 for browsing
- latest version (on 1 Dec 2021; rev. 1872; just same as 2.1.35, 2.1.36, 2.1.37, 2.1.38, and 2.1.39 release)
- for upstream 2.1.35, 2.1.36, 2.1.37, 2.1.38, and 2.1.39 release
- for upstream 2.1.34 release(rev. 1859)
- for upstream 2.1.30, 2.1.31, 2.1.32, and 2.1.33 releases
- for upstream 2.1.28 and 2.1.29 release(rev. 1797 and rev.1799, respectively)
- for upstream 2.1.27 release(rev. 1784)
- for upstream 2.1.26 release(rev. 1744)
- for upstream 2.1.25 release(rev. 1726)
- for upstream 2.1.24 release(rev. 1708)
- for upstream 2.1.23 release(rev. 1671)
Repository for RPM package source and FreeBSD ports (ViewVC; only for browsing)
I've used Subversion to manage FreeBSD ports and RPM package source of
private version of Mailman and related modules, so I publish them with ViewVC
for browsing.
FreeBSD ports
RPM source for RHEL 6 and its clones
RPM source for RHEL 7 and its clones
<futatuki_at_poem.co.jp>