Mailman3 无法启动 Postorius

Mailman3 无法启动 Postorius

我在云中的 Ubuntu 20.04 实例上安装了 mailman3。首先,它无法启动,现在我彻底重新安装了,现在它正在运行。我可以创建一个邮件列表,其余运行器正在运行。

我现在想知道我需要做什么才能访问 Postorius Web UI。我将文件复制apache.conf到我的 apache2sites-enabled目录,但我认为它使用的 URL 上仍然没有显示任何内容。文档说 URL 是ipnr/postorius/lists。对吗?如果我得到 404,我错过了什么?

这是 sites-enabled 中的 apache2 conf 文件:

Alias /mailman3/favicon.ico /var/lib/mailman3/web/static/postorius/img/favicon.ico
Alias /mailman3/static      /var/lib/mailman3/web/static
<Directory "/var/lib/mailman3/web/static">
        Require all granted
</Directory>
<IfModule mod_proxy_uwsgi.c>
        ProxyPass /mailman3/favicon.ico !
        ProxyPass /mailman3/static !
        ProxyPass /mailman3 unix:/run/mailman3-web/uwsgi.sock|uwsgi://localhost/
</IfModule>

这是输出自systemctl status mailman3

● mailman3.service - Mailman3 server
     Loaded: loaded (/lib/systemd/system/mailman3.service; enabled; vendor preset: enabled)
     Active: active (running) since Sat 2021-03-27 20:21:02 UTC; 13h ago
       Docs: man:mailman(1)
             https://mailman.readthedocs.io/
   Main PID: 1457 (python3)
      Tasks: 15 (limit: 2345)
     Memory: 691.2M
     CGroup: /system.slice/mailman3.service
             ├─1457 /usr/bin/python3 /usr/lib/mailman3/bin/master --force -C /etc/mailman3/mailman.cfg
             ├─1815 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=archive:0:1
             ├─1816 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=bounces:0:1
             ├─1817 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=command:0:1
             ├─1818 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=in:0:1
             ├─1821 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=lmtp:0:1
             ├─1822 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=nntp:0:1
             ├─1823 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=out:0:1
             ├─1824 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=pipeline:0:1
             ├─1825 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=rest:0:1
             ├─1826 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=retry:0:1
             ├─1827 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=virgin:0:1
             └─1828 /usr/bin/python3 /usr/lib/mailman3/bin/runner -C /etc/mailman3/mailman.cfg --runner=digest:0:1
Mar 27 20:20:51 lists systemd[1]: Starting Mailman3 server...
Mar 27 20:20:58 lists mailman3[657]: Starting Mailman's master runner
Mar 27 20:20:59 lists systemd[1]: mailman3.service: Can't open PID file /run/mailman3/master.pid (yet?) after start: Operation not permitt>
Mar 27 20:21:02 lists systemd[1]: Started Mailman3 server.

相关内容