[Bug 250362] mail/mailman3: zope.interface>=5.0 is required

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 14 15:20:40 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250362

--- Comment #23 from Henri Hennebert <hlh at restart.be> ---
(In reply to Henri Hennebert from comment #22)
I to access the postorius with apache24

I first install www/mod_wsgi4

In /usr/local/etc/apache24/Includes/lists.conf:


<VirtualHost x.x.x.x:80>
ServerName <server fqdn>
LogFormat combined
TransferLog "| /usr/local/sbin/cronolog
/var/log/httpd/lists/%Y/%m/access-%d.log"
ErrorLog "| /usr/local/sbin/cronolog /var/log/httpd/lists/error-%Y-%m.log"
DocumentRoot "/usr/local/mailman/postorius"

Alias /static /usr/local/lib/python3.7/site-packages/postorius/static
<Directory "/usr/local/lib/python3.7/site-packages/postorius/static">
    Require all granted
</Directory>

WSGIScriptAlias / /usr/local/mailman/postorius/wsgi.py
<Directory "/usr/local/mailman/postorius">
    <Files wsgi.py>
    Require all granted
    </Files>
</Directory>
</VirtualHost>

[root at tignes local]# chmod 775 mailman/postorius 
[root at tignes local]# chmod 664 mailman/postorius/postorius.db 
[root at tignes local]# chgrp www mailman/postorius mailman/postorius/postorius.db

in /usr/local/mailman/postorius/settings.py:

ALLOWED_HOSTS = ['server fqdn>']

and I replace /usr/local/mailman/postorius/wgsi.py with attached file

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list