Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Dec 2020 12:23:06 +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-OJ9orYikTd@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 #29 from Henri Hennebert <hlh@restart.be> ---
(In reply to Henri Hennebert from comment #23)

To mimic the the configuration at https://lists.mailman3.org/
I rename /usr/local/mailman/postorius to /usr/local/mailman/mailman3

my config of apache24 is now:

<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/mailman3"

Alias /static /usr/local/mailman/mailman3/static
<Directory "/usr/local/mailman/mailman3/static">
    Require all granted
</Directory>

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

Then I add textproc/rubygem-sass and textproc/py-cmarkgfm

Next I install hyperkitty (there is no ports so I use pip):

pip install hyperkitty

After some try and errors I have my settings.py updated (see attachment)

then:
[root@tignes ~]# su -l mailman
[mailman@tignes ~]$ cd mailman3
[mailman@tignes mailman3]$ django-admin migrate --pythonpath
/usr/local/mailman/mailman3 --settings settings
Operations to perform:
  Apply all migrations: account, admin, auth, contenttypes, django_mailman3,
django_q, hyperkitty, openid, postorius, sessions, sites, socialaccount
Running migrations:
...

Then I MUST install the /usr/local/mailman/mailman3/static directory to avo=
id
problems with the css:

[mailman@tignes mailman3]$ python manage.py collectstatic

and then I restart apache24 and all is running well: archives are updated.

NOTE: I try to recollect everything from my last 2 weeks :-/
so maybe I forget a step or two...

--=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-OJ9orYikTd>