#author("2022-08-05T17:28:55+09:00","default:kuji","kuji")
#author("2023-06-13T15:28:10+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*py39-mailman-3.3.1_3 [#t09da62c]
 portinstall mail/mailman3

 ===>   Registering installation for py39-mailman-3.3.1_3
 Installing py39-mailman-3.3.1_3...
 ===> Creating groups.
 Using existing group 'mailman'.
 ===> Creating users
 Using existing user 'mailman'.
 ===> Creating homedir(s)
 To initialise Mailman's runtime directories, log files and database
 for the first time, run
 
   service mailman info
 
 You can then start Mailman by running:
 
   service mailman start

 # service mailman info
すると、
 ModuleNotFoundError: No module named 'importlib_resources'
言われたので、

 portinstall devel/py-importlib-resources 

して、もう一度  service mailman info すると、
 # service mailman info
 Usage: mailman [OPTIONS] COMMAND [ARGS]...
 Try 'mailman -h' for help.
 
 Error: Invalid value for '-C' / '--config': File '/usr/local/mailman/etc/mailman.cfg' does not exist.

ここで、/usr/local/mailman の中を見てみると、空っぽ!? なので、以下の様な手順を取って見た。

  1037  15:47   portinstall mail/mailman3
  1038  15:48   portupgrade -rRf py39-mailman-3.3.1_3
  1039  16:07   service mailman info
  1040  16:07   service mailman start
  1041  16:11   mailman -h
  1042  16:12   locate gunicorn
  1043  16:12   portinstall www/py-gunicorn
  1044  16:14   service mailman start
  1045  16:14   service mailman info
  1046  16:14   mailman -h
  1047  16:15   locate authres
  1048  16:15   portinstall mail/py-authres
  1049  16:15   mailman -h
  1050  16:16   locate authheaders
  1051  16:16   portinstall mail/py-authheaders
  1052  16:17   mailman -h
  1053  16:20   service mailman info
  1054  16:21   chown -R mailman:mailman /usr/local/mailman
  1055  16:21   service mailman info

 # service mailman info
 GNU Mailman 3.3.1 (Tom Sawyer)
 Python 3.9.13 (main, Aug  5 2022, 16:02:47)
 [Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a
 config file: /usr/local/mailman/etc/mailman.cfg
 db url: sqlite:////usr/local/mailman/data/mailman.db
 devmode: DISABLED
 REST root url: http://localhost:8001/3.1/
 REST credentials: restadmin:restpass

 # service mailman start
 Starting Mailman's master runner
 Generating MTA alias maps

/usr/local/mailman/etc/mailman.cfg

https://docs.mailman3.org/projects/mailman/en/latest/src/mailman/config/docs/config.html

**# portinstall www/py-postorius [#y35166cf]
https://docs.mailman3.org/en/latest/

----
 To initialise Mailman's runtime directories, log files and database
 for the first time, run
 
   service mailman info
 
 You can then start Mailman by running:
 
   service mailman start

----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS