Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Dec 2020 15:20:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250362] mail/mailman3: zope.interface>=5.0 is required
Message-ID:  <bug-250362-7788-HKp1znYkGt@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250362-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250362-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250362

--- Comment #23 from Henri Hennebert <hlh@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@tignes local]# chmod 775 mailman/postorius=20
[root@tignes local]# chmod 664 mailman/postorius/postorius.db=20
[root@tignes local]# chgrp www mailman/postorius mailman/postorius/postoriu=
s.db

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

ALLOWED_HOSTS =3D ['server fqdn>']

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250362-7788-HKp1znYkGt>