13 Aug
2017
13 Aug
'17
10:34 p.m.
On Sun, 13 Aug 2017 23:15:05 +0100 John Poltorak <karotlopj@gmail.com> wrote:
What is involved in setting up Postgres to store Mailman msgs?
Messages are stored by the archivers, if you are referring to Hyperkitty (the official archiver for Mailman 3), then you need to configure your Django to use Postgresql.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'mydatabase',
'USER': 'mydatabaseuser',
'PASSWORD': 'mypassword',
'HOST': '127.0.0.1',
'PORT': '5432',
}
}
This is the configuration that you are supposed to add (or modify if DATABASES already exists in settings.py) to your Django's settings.py. See here for more options about setting up different databases with Django1.
-- thanks, Abhilash Raj