Mailman3
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
1002 16:57 locate mailman3
1003 16:57 cd /usr/ports/mail/mailman3
1004 16:57 make install clean
1005 17:35 /root/bin/check.sh
1006 17:36 locate Postorius
1007 17:39 locate Postorius
1008 17:39 locate postorius
1009 17:39 cd /usr/ports/www/py-postorius
1010 17:39 make install clean
Installing py39-mailman-3.3.9_1...
===> Creating groups
Using existing group 'mailman'
===> Creating users
Using existing user 'mailman'
===> Creating homedir(s)
To initialise Mailman's runtime directories, log files a...
for the first time, run
service mailman info
You can then start Mailman by running:
service mailman start
----
FreeBSD 13.0-RELEASE-p1 (GENERIC) へ /usr/ports/mail/mail...
現状:
ja-mailman:2.1.14.j7_6,1
Apache/2.4.48 (FreeBSD)
Postfix(3.6.1)
https://lab.uberspace.de/guide_mailman-3.html
https://docs.mailman3.org/projects/mailman/en/latest/READ...
*Mailman3.1.1 [#hdbe9a88]
py37-mailman-3.3.1
cd /usr/ports/mail/mailman3
make install clean
Installing py37-mailman-3.3.1...
pkg-static: py37-mailman-3.3.1 conflicts with ja-mailman...
*** Error code 1 [#x209bdf8]
Stop.
make: stopped in /usr/ports/mail/mailman3
root@smb212:/usr/ports/mail/mailman3:21_06_01:17:56 # pk...
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 pa...
Installed packages to be REMOVED:
ja-mailman: 2.1.14.j7_6,1
Number of packages to be removed: 1
The operation will free 31 MiB.
Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling ja-mailman-2.1.14.j7_6,1...
You may need to manually remove /usr/local/mailman/Mailm...
---> Starting deinstall script
---> Crontab for "mailman" modified, not removed: please...
---> it manually if you no longer wish to use Mailman. E...
---> /usr/bin/crontab -u "mailman" -r
---> Preserving the "last_mailman_version" file
cd /usr/ports/mail/mailman3
make install clean
===> Installing for py37-mailman-3.3.1
===> Checking if py37-mailman is already installed
===> Registering installation for py37-mailman-3.3.1
Installing py37-mailman-3.3.1...
===> Creating groups.
Using existing group 'mailman'.
===> Creating users
Using existing user 'mailman'.
===> Creating homedir(s)
To initialise Mailman's runtime directories, log files a...
for the first time, run
service mailman info
You can then start Mailman by running:
service mailman start
===> Cleaning for py37-aiosmtpd-1.2_1
===> Cleaning for py37-atpublic-1.0
: :
===> Cleaning for py37-mailman-3.3.1
===> Cleaning for py38-mailman-3.3.1
# service mailman info
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 10, in <module>
from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'
During handling of the above exception, another exceptio...
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 13, in <module>
from importlib_metadata import distribution
ModuleNotFoundError: No module named 'importlib_metadata'
During handling of the above exception, another exceptio...
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 15, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
needed = self.resolve(parse_requirements(requirement...
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gunicorn' distr...
ModuleNotFoundError: No module named 'importlib.metadata'...
**# portinstall devel/py-importlib-metadata [#v7694a8d]
# service mailman info
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 33, in <module>
sys.exit(load_entry_point('mailman==3.3.1', 'console...
File "/usr/local/bin/mailman", line 25, in importlib_l...
return next(matches).load()
File "/usr/local/lib/python3.7/site-packages/importlib...
module = import_module(match.group('module'))
File "/usr/local/lib/python3.7/importlib/__init__.py",...
return _bootstrap._gcd_import(name[level:], package,...
File "<frozen importlib._bootstrap>", line 1006, in _g...
File "<frozen importlib._bootstrap>", line 983, in _fi...
File "<frozen importlib._bootstrap>", line 967, in _fi...
File "<frozen importlib._bootstrap>", line 677, in _lo...
File "<frozen importlib._bootstrap_external>", line 72...
File "<frozen importlib._bootstrap>", line 219, in _ca...
File "/usr/local/lib/python3.7/site-packages/mailman/b...
from mailman.config import config
File "/usr/local/lib/python3.7/site-packages/mailman/c...
from mailman.config.config import Configuration
File "/usr/local/lib/python3.7/site-packages/mailman/c...
from importlib_resources import path, read_text
ModuleNotFoundError: No module named 'importlib_resources'
**# portinstall devel/py-importlib-resources [#sdc09053]
# service mailman info
Usage: mailman [OPTIONS] COMMAND [ARGS]...
Try 'mailman -h' for help.
Error: Invalid value for '-C' / '--config': File '/usr/l...
/usr/local/mailman 以下も何もインストールされておらず空っ...
** 1083 9:32 mkdir -p /usr/local/mailman/etc/ [#jd35...
** 1084 9:33 touch /usr/local/mailman/etc/mailman.cf...
# service mailman info
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.context.end()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.stack.pop().finish()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args = toargs(context, *self.argdata)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args[str(name)] = field.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
v = vt.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
value = self.context.resolve(name)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
mod = __import__(mname, *_import_chickens)
File "/usr/local/lib/python3.7/site-packages/mailman/m...
from mailman.utilities.datetime import today
File "/usr/local/lib/python3.7/site-packages/mailman/u...
from mailman.testing import layers
File "/usr/local/lib/python3.7/site-packages/mailman/t...
from pkg_resources import resource_filename
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
needed = self.resolve(parse_requirements(requirement...
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gunicorn' distr...
During handling of the above exception, another exceptio...
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 33, in <module>
sys.exit(load_entry_point('mailman==3.3.1', 'console...
File "/usr/local/lib/python3.7/site-packages/click/cor...
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/cor...
with self.make_context(prog_name, args, **extra) as ...
File "/usr/local/lib/python3.7/site-packages/click/cor...
self.parse_args(ctx, args)
File "/usr/local/lib/python3.7/site-packages/click/cor...
rest = Command.parse_args(self, ctx, args)
File "/usr/local/lib/python3.7/site-packages/click/cor...
value, args = param.handle_parse_result(ctx, opts, a...
File "/usr/local/lib/python3.7/site-packages/click/cor...
value = invoke_param_callback(self.callback, ctx, se...
File "/usr/local/lib/python3.7/site-packages/click/cor...
return callback(ctx, param, value)
File "/usr/local/lib/python3.7/site-packages/mailman/b...
initialize(value)
File "/usr/local/lib/python3.7/site-packages/mailman/c...
initialize_1(config_path)
File "/usr/local/lib/python3.7/site-packages/mailman/c...
xmlconfig.string(read_text('mailman.config', 'config...
File "/usr/local/lib/python3.7/site-packages/zope/conf...
processxmlfile(f, context)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
parser.parse(src)
File "/usr/local/lib/python3.7/xml/sax/expatreader.py"...
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python3.7/xml/sax/xmlreader.py", ...
self.feed(buffer)
File "/usr/local/lib/python3.7/xml/sax/expatreader.py"...
self._parser.Parse(data, isFinal)
File "/usr/ports/lang/python37/work/Python-3.7.10/Modu...
File "/usr/local/lib/python3.7/xml/sax/expatreader.py"...
self._cont_handler.endElementNS(pair, None)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
None, sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/zope/conf...
raise value.with_traceback(tb)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.context.end()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.stack.pop().finish()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args = toargs(context, *self.argdata)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args[str(name)] = field.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
v = vt.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
value = self.context.resolve(name)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
mod = __import__(mname, *_import_chickens)
File "/usr/local/lib/python3.7/site-packages/mailman/m...
from mailman.utilities.datetime import today
File "/usr/local/lib/python3.7/site-packages/mailman/u...
from mailman.testing import layers
File "/usr/local/lib/python3.7/site-packages/mailman/t...
from pkg_resources import resource_filename
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
needed = self.resolve(parse_requirements(requirement...
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
raise DistributionNotFound(req, requirers)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: ...
DistributionNotFound: The 'gunicorn' distribution wa...
https://qiita.com/HidKamiya/items/619ca56cee9a5005d5c4
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250362
https://translate.google.com/translate?hl=ja&sl=en&u=http...
** # pkg install py37-gunicorn [#zba01c7a]
すると、GNU Mailman 3.3.1 (Tom Sawyer)出ました。( ´ ▽ ` )ノ
root@smb212:/usr/local/mailman:21_06_11:11:52 # mailman ...
GNU Mailman 3.3.1 (Tom Sawyer)
Python 3.7.10 (default, Jun 11 2021, 10:27:01)
[Clang 11.0.1 (git@github.com:llvm/llvm-project.git llvm...
config file: None
db url: sqlite:////usr/local/mailman/data/mailman.db
devmode: DISABLED
REST root url: http://localhost:8001/3.1/
REST credentials: restadmin:restpass
https://dan.langille.org/2020/11/25/missing-dependencies-...
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250362
# ll
total 59
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 archives/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 cache/
drwxr-xr-x 2 root mailman 3 Jun 11 11:53 data/
drwxr-xr-x 2 root mailman 3 Jun 11 11:53 etc/
drwxr-xr-x 2 root mailman 3 Jun 8 09:33 etc_/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 lists/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 locks/
drwxr-xr-x 2 root mailman 7 Jun 11 11:53 logs/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 messages/
drwxr-xr-x 14 root mailman 14 Jun 11 11:53 queue/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 templates/
# chown -R mailman:mailman /usr/local/mailman/
# service mailman start
Starting Mailman's master runner
Generating MTA alias maps
mailman runner は起動できた( ´▽`)ノ
#top -a
3690 mailman 1 20 0 81M 67M select 1 ...
3689 mailman 1 20 0 81M 67M select 1 ...
3679 mailman 1 20 0 81M 67M select 1 ...
3686 mailman 1 20 0 81M 67M select 0 ...
3685 mailman 1 20 0 81M 67M select 0 ...
3681 mailman 1 20 0 81M 67M select 1 ...
3682 mailman 1 20 0 81M 67M select 1 ...
3687 mailman 1 20 0 87M 73M select 0 ...
3684 mailman 1 20 0 81M 67M select 0 ...
3683 mailman 2 20 0 86M 67M select 0 ...
3680 mailman 1 20 0 83M 69M select 1 ...
3669 mailman 1 52 0 81M 67M pause 1 ...
3688 mailman 1 20 0 81M 67M select 0 ...
3783 mailman 1 20 0 87M 73M select 0 ...
3780 mailman 1 20 0 87M 73M select 0 ...
:/usr/local/mailman # ll
total 230
drwxr-xr-x 8 mailman mailman 13 Jun 22 11:40 .git/
-rw-r--r-- 1 mailman mailman 110 Jun 22 11:40 .git...
-rw-r--r-- 1 mailman mailman 1527 Jun 22 11:40 .git...
-rw-r--r-- 1 mailman mailman 166 Jun 22 11:40 .rea...
-rw-r--r-- 1 mailman mailman 35148 Jun 22 11:40 COPY...
-rw-r--r-- 1 mailman mailman 527 Jun 22 11:40 MANI...
-rw-r--r-- 1 mailman mailman 3281 Jun 22 11:40 READ...
drwxr-xr-x 2 mailman mailman 4 Jun 22 11:40 _ext/
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 arch...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 cache/
-rw-r--r-- 1 mailman mailman 7998 Jun 22 11:40 conf...
drwxr-xr-x 2 mailman mailman 5 Jun 22 11:40 cont...
-rwxr-xr-x 1 mailman mailman 2786 Jun 22 11:40 copy...
-rw-r--r-- 1 mailman mailman 437 Jun 22 11:40 cove...
drwxr-xr-x 2 mailman mailman 3 Jun 22 11:40 cron/
drwxr-xr-x 2 mailman mailman 12 Jun 29 11:13 data/
drwxr-xr-x 2 mailman mailman 3 Jun 26 09:13 etc/
-rwxr-xr-x 1 mailman mailman 231 Jun 22 11:40 gene...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 lists/
drwxr-xr-x 2 mailman mailman 4 Jun 29 15:34 locks/
drwxr-xr-x 2 mailman mailman 7 Jun 22 11:40 logs/
-rwxr-xr-x 1 mailman mailman 243 Jun 22 14:10 mana...
-rw-rw---- 1 mailman mailman 5 Jun 29 11:13 mast...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 mess...
drwxr-xr-x 2 mailman mailman 8 Jun 22 11:40 port...
drwxr-xr-x 14 mailman mailman 14 Jun 22 11:40 queue/
-rw-r--r-- 1 mailman mailman 66 Jun 22 11:40 requ...
-rw-r--r-- 1 mailman mailman 44 Jun 22 11:40 setu...
-rw-r--r-- 1 mailman mailman 4826 Jun 22 11:40 setu...
drwxr-xr-x 3 mailman mailman 4 Jun 22 11:40 src/
-rw-r--r-- 1 mailman mailman 752 Jun 22 11:40 temp...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 temp...
-rw-r--r-- 1 mailman mailman 1387 Jun 22 11:40 tox....
-rw-r--r-- 1 mailman mailman 377 Jun 22 11:40 unit...
-rwxr-xr-x 1 mailman mailman 660 Jun 22 11:40 upda...
-rw-r--r-- 1 mailman mailman 1856 Jun 22 11:40 upda...
-rw-r--r-- 1 mailman mailman 1292 Jun 22 14:11 urls...
drwxr-xr-x 3 root mailman 3 Jun 22 14:26 var/
-rw-r--r-- 1 mailman mailman 1173 Jun 22 14:11 wsgi...
https://forums.freebsd.org/threads/mailman-3.61050/#js-po...
https://ximalas.info/2020/12/01/migrating-to-mailman-3/
*Postorius [#w5433a44]
https://translate.google.co.jp/translate?hl=ja&sl=en&u=ht...
qrunner は走ったので、次はWebインターフェースを
# portinstall www/py-postorius
[Reading data from pkg(8) ... - 434 packages found - done]
** Found already installed package(s) of 'www/py-postori...
既にインストールされている。が、どう設定すればよいのだろ...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
1002 16:57 locate mailman3
1003 16:57 cd /usr/ports/mail/mailman3
1004 16:57 make install clean
1005 17:35 /root/bin/check.sh
1006 17:36 locate Postorius
1007 17:39 locate Postorius
1008 17:39 locate postorius
1009 17:39 cd /usr/ports/www/py-postorius
1010 17:39 make install clean
Installing py39-mailman-3.3.9_1...
===> Creating groups
Using existing group 'mailman'
===> Creating users
Using existing user 'mailman'
===> Creating homedir(s)
To initialise Mailman's runtime directories, log files a...
for the first time, run
service mailman info
You can then start Mailman by running:
service mailman start
----
FreeBSD 13.0-RELEASE-p1 (GENERIC) へ /usr/ports/mail/mail...
現状:
ja-mailman:2.1.14.j7_6,1
Apache/2.4.48 (FreeBSD)
Postfix(3.6.1)
https://lab.uberspace.de/guide_mailman-3.html
https://docs.mailman3.org/projects/mailman/en/latest/READ...
*Mailman3.1.1 [#hdbe9a88]
py37-mailman-3.3.1
cd /usr/ports/mail/mailman3
make install clean
Installing py37-mailman-3.3.1...
pkg-static: py37-mailman-3.3.1 conflicts with ja-mailman...
*** Error code 1 [#x209bdf8]
Stop.
make: stopped in /usr/ports/mail/mailman3
root@smb212:/usr/ports/mail/mailman3:21_06_01:17:56 # pk...
Updating database digests format: 100%
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 pa...
Installed packages to be REMOVED:
ja-mailman: 2.1.14.j7_6,1
Number of packages to be removed: 1
The operation will free 31 MiB.
Proceed with deinstalling packages? [y/N]: y
[1/1] Deinstalling ja-mailman-2.1.14.j7_6,1...
You may need to manually remove /usr/local/mailman/Mailm...
---> Starting deinstall script
---> Crontab for "mailman" modified, not removed: please...
---> it manually if you no longer wish to use Mailman. E...
---> /usr/bin/crontab -u "mailman" -r
---> Preserving the "last_mailman_version" file
cd /usr/ports/mail/mailman3
make install clean
===> Installing for py37-mailman-3.3.1
===> Checking if py37-mailman is already installed
===> Registering installation for py37-mailman-3.3.1
Installing py37-mailman-3.3.1...
===> Creating groups.
Using existing group 'mailman'.
===> Creating users
Using existing user 'mailman'.
===> Creating homedir(s)
To initialise Mailman's runtime directories, log files a...
for the first time, run
service mailman info
You can then start Mailman by running:
service mailman start
===> Cleaning for py37-aiosmtpd-1.2_1
===> Cleaning for py37-atpublic-1.0
: :
===> Cleaning for py37-mailman-3.3.1
===> Cleaning for py38-mailman-3.3.1
# service mailman info
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 10, in <module>
from importlib.metadata import distribution
ModuleNotFoundError: No module named 'importlib.metadata'
During handling of the above exception, another exceptio...
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 13, in <module>
from importlib_metadata import distribution
ModuleNotFoundError: No module named 'importlib_metadata'
During handling of the above exception, another exceptio...
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 15, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
needed = self.resolve(parse_requirements(requirement...
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gunicorn' distr...
ModuleNotFoundError: No module named 'importlib.metadata'...
**# portinstall devel/py-importlib-metadata [#v7694a8d]
# service mailman info
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 33, in <module>
sys.exit(load_entry_point('mailman==3.3.1', 'console...
File "/usr/local/bin/mailman", line 25, in importlib_l...
return next(matches).load()
File "/usr/local/lib/python3.7/site-packages/importlib...
module = import_module(match.group('module'))
File "/usr/local/lib/python3.7/importlib/__init__.py",...
return _bootstrap._gcd_import(name[level:], package,...
File "<frozen importlib._bootstrap>", line 1006, in _g...
File "<frozen importlib._bootstrap>", line 983, in _fi...
File "<frozen importlib._bootstrap>", line 967, in _fi...
File "<frozen importlib._bootstrap>", line 677, in _lo...
File "<frozen importlib._bootstrap_external>", line 72...
File "<frozen importlib._bootstrap>", line 219, in _ca...
File "/usr/local/lib/python3.7/site-packages/mailman/b...
from mailman.config import config
File "/usr/local/lib/python3.7/site-packages/mailman/c...
from mailman.config.config import Configuration
File "/usr/local/lib/python3.7/site-packages/mailman/c...
from importlib_resources import path, read_text
ModuleNotFoundError: No module named 'importlib_resources'
**# portinstall devel/py-importlib-resources [#sdc09053]
# service mailman info
Usage: mailman [OPTIONS] COMMAND [ARGS]...
Try 'mailman -h' for help.
Error: Invalid value for '-C' / '--config': File '/usr/l...
/usr/local/mailman 以下も何もインストールされておらず空っ...
** 1083 9:32 mkdir -p /usr/local/mailman/etc/ [#jd35...
** 1084 9:33 touch /usr/local/mailman/etc/mailman.cf...
# service mailman info
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.context.end()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.stack.pop().finish()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args = toargs(context, *self.argdata)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args[str(name)] = field.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
v = vt.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
value = self.context.resolve(name)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
mod = __import__(mname, *_import_chickens)
File "/usr/local/lib/python3.7/site-packages/mailman/m...
from mailman.utilities.datetime import today
File "/usr/local/lib/python3.7/site-packages/mailman/u...
from mailman.testing import layers
File "/usr/local/lib/python3.7/site-packages/mailman/t...
from pkg_resources import resource_filename
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
needed = self.resolve(parse_requirements(requirement...
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'gunicorn' distr...
During handling of the above exception, another exceptio...
Traceback (most recent call last):
File "/usr/local/bin/mailman", line 33, in <module>
sys.exit(load_entry_point('mailman==3.3.1', 'console...
File "/usr/local/lib/python3.7/site-packages/click/cor...
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/click/cor...
with self.make_context(prog_name, args, **extra) as ...
File "/usr/local/lib/python3.7/site-packages/click/cor...
self.parse_args(ctx, args)
File "/usr/local/lib/python3.7/site-packages/click/cor...
rest = Command.parse_args(self, ctx, args)
File "/usr/local/lib/python3.7/site-packages/click/cor...
value, args = param.handle_parse_result(ctx, opts, a...
File "/usr/local/lib/python3.7/site-packages/click/cor...
value = invoke_param_callback(self.callback, ctx, se...
File "/usr/local/lib/python3.7/site-packages/click/cor...
return callback(ctx, param, value)
File "/usr/local/lib/python3.7/site-packages/mailman/b...
initialize(value)
File "/usr/local/lib/python3.7/site-packages/mailman/c...
initialize_1(config_path)
File "/usr/local/lib/python3.7/site-packages/mailman/c...
xmlconfig.string(read_text('mailman.config', 'config...
File "/usr/local/lib/python3.7/site-packages/zope/conf...
processxmlfile(f, context)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
parser.parse(src)
File "/usr/local/lib/python3.7/xml/sax/expatreader.py"...
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python3.7/xml/sax/xmlreader.py", ...
self.feed(buffer)
File "/usr/local/lib/python3.7/xml/sax/expatreader.py"...
self._parser.Parse(data, isFinal)
File "/usr/ports/lang/python37/work/Python-3.7.10/Modu...
File "/usr/local/lib/python3.7/xml/sax/expatreader.py"...
self._cont_handler.endElementNS(pair, None)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
None, sys.exc_info()[2])
File "/usr/local/lib/python3.7/site-packages/zope/conf...
raise value.with_traceback(tb)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.context.end()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
self.stack.pop().finish()
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args = toargs(context, *self.argdata)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
args[str(name)] = field.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
v = vt.fromUnicode(s)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
value = self.context.resolve(name)
File "/usr/local/lib/python3.7/site-packages/zope/conf...
mod = __import__(mname, *_import_chickens)
File "/usr/local/lib/python3.7/site-packages/mailman/m...
from mailman.utilities.datetime import today
File "/usr/local/lib/python3.7/site-packages/mailman/u...
from mailman.testing import layers
File "/usr/local/lib/python3.7/site-packages/mailman/t...
from pkg_resources import resource_filename
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
@_call_aside
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
working_set = WorkingSet._build_master()
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
ws.require(__requires__)
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
needed = self.resolve(parse_requirements(requirement...
File "/usr/local/lib/python3.7/site-packages/pkg_resou...
raise DistributionNotFound(req, requirers)
zope.configuration.xmlconfig.ZopeXMLConfigurationError: ...
DistributionNotFound: The 'gunicorn' distribution wa...
https://qiita.com/HidKamiya/items/619ca56cee9a5005d5c4
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250362
https://translate.google.com/translate?hl=ja&sl=en&u=http...
** # pkg install py37-gunicorn [#zba01c7a]
すると、GNU Mailman 3.3.1 (Tom Sawyer)出ました。( ´ ▽ ` )ノ
root@smb212:/usr/local/mailman:21_06_11:11:52 # mailman ...
GNU Mailman 3.3.1 (Tom Sawyer)
Python 3.7.10 (default, Jun 11 2021, 10:27:01)
[Clang 11.0.1 (git@github.com:llvm/llvm-project.git llvm...
config file: None
db url: sqlite:////usr/local/mailman/data/mailman.db
devmode: DISABLED
REST root url: http://localhost:8001/3.1/
REST credentials: restadmin:restpass
https://dan.langille.org/2020/11/25/missing-dependencies-...
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250362
# ll
total 59
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 archives/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 cache/
drwxr-xr-x 2 root mailman 3 Jun 11 11:53 data/
drwxr-xr-x 2 root mailman 3 Jun 11 11:53 etc/
drwxr-xr-x 2 root mailman 3 Jun 8 09:33 etc_/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 lists/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 locks/
drwxr-xr-x 2 root mailman 7 Jun 11 11:53 logs/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 messages/
drwxr-xr-x 14 root mailman 14 Jun 11 11:53 queue/
drwxr-xr-x 2 root mailman 2 Jun 11 11:53 templates/
# chown -R mailman:mailman /usr/local/mailman/
# service mailman start
Starting Mailman's master runner
Generating MTA alias maps
mailman runner は起動できた( ´▽`)ノ
#top -a
3690 mailman 1 20 0 81M 67M select 1 ...
3689 mailman 1 20 0 81M 67M select 1 ...
3679 mailman 1 20 0 81M 67M select 1 ...
3686 mailman 1 20 0 81M 67M select 0 ...
3685 mailman 1 20 0 81M 67M select 0 ...
3681 mailman 1 20 0 81M 67M select 1 ...
3682 mailman 1 20 0 81M 67M select 1 ...
3687 mailman 1 20 0 87M 73M select 0 ...
3684 mailman 1 20 0 81M 67M select 0 ...
3683 mailman 2 20 0 86M 67M select 0 ...
3680 mailman 1 20 0 83M 69M select 1 ...
3669 mailman 1 52 0 81M 67M pause 1 ...
3688 mailman 1 20 0 81M 67M select 0 ...
3783 mailman 1 20 0 87M 73M select 0 ...
3780 mailman 1 20 0 87M 73M select 0 ...
:/usr/local/mailman # ll
total 230
drwxr-xr-x 8 mailman mailman 13 Jun 22 11:40 .git/
-rw-r--r-- 1 mailman mailman 110 Jun 22 11:40 .git...
-rw-r--r-- 1 mailman mailman 1527 Jun 22 11:40 .git...
-rw-r--r-- 1 mailman mailman 166 Jun 22 11:40 .rea...
-rw-r--r-- 1 mailman mailman 35148 Jun 22 11:40 COPY...
-rw-r--r-- 1 mailman mailman 527 Jun 22 11:40 MANI...
-rw-r--r-- 1 mailman mailman 3281 Jun 22 11:40 READ...
drwxr-xr-x 2 mailman mailman 4 Jun 22 11:40 _ext/
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 arch...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 cache/
-rw-r--r-- 1 mailman mailman 7998 Jun 22 11:40 conf...
drwxr-xr-x 2 mailman mailman 5 Jun 22 11:40 cont...
-rwxr-xr-x 1 mailman mailman 2786 Jun 22 11:40 copy...
-rw-r--r-- 1 mailman mailman 437 Jun 22 11:40 cove...
drwxr-xr-x 2 mailman mailman 3 Jun 22 11:40 cron/
drwxr-xr-x 2 mailman mailman 12 Jun 29 11:13 data/
drwxr-xr-x 2 mailman mailman 3 Jun 26 09:13 etc/
-rwxr-xr-x 1 mailman mailman 231 Jun 22 11:40 gene...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 lists/
drwxr-xr-x 2 mailman mailman 4 Jun 29 15:34 locks/
drwxr-xr-x 2 mailman mailman 7 Jun 22 11:40 logs/
-rwxr-xr-x 1 mailman mailman 243 Jun 22 14:10 mana...
-rw-rw---- 1 mailman mailman 5 Jun 29 11:13 mast...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 mess...
drwxr-xr-x 2 mailman mailman 8 Jun 22 11:40 port...
drwxr-xr-x 14 mailman mailman 14 Jun 22 11:40 queue/
-rw-r--r-- 1 mailman mailman 66 Jun 22 11:40 requ...
-rw-r--r-- 1 mailman mailman 44 Jun 22 11:40 setu...
-rw-r--r-- 1 mailman mailman 4826 Jun 22 11:40 setu...
drwxr-xr-x 3 mailman mailman 4 Jun 22 11:40 src/
-rw-r--r-- 1 mailman mailman 752 Jun 22 11:40 temp...
drwxr-xr-x 2 mailman mailman 2 Jun 22 11:40 temp...
-rw-r--r-- 1 mailman mailman 1387 Jun 22 11:40 tox....
-rw-r--r-- 1 mailman mailman 377 Jun 22 11:40 unit...
-rwxr-xr-x 1 mailman mailman 660 Jun 22 11:40 upda...
-rw-r--r-- 1 mailman mailman 1856 Jun 22 11:40 upda...
-rw-r--r-- 1 mailman mailman 1292 Jun 22 14:11 urls...
drwxr-xr-x 3 root mailman 3 Jun 22 14:26 var/
-rw-r--r-- 1 mailman mailman 1173 Jun 22 14:11 wsgi...
https://forums.freebsd.org/threads/mailman-3.61050/#js-po...
https://ximalas.info/2020/12/01/migrating-to-mailman-3/
*Postorius [#w5433a44]
https://translate.google.co.jp/translate?hl=ja&sl=en&u=ht...
qrunner は走ったので、次はWebインターフェースを
# portinstall www/py-postorius
[Reading data from pkg(8) ... - 434 packages found - done]
** Found already installed package(s) of 'www/py-postori...
既にインストールされている。が、どう設定すればよいのだろ...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: