Re: Docker or virtualenv?
For Docker:
just use the README on https://github.com/maxking/docker-mailman ; this should be enough for a basic setup.
Eventually, you'll need to add some things to
core/mailman-extra.cfg :
[mailman] site_owner: help@elternserver.de SMTP_MAX_RCPTS = 1
VERP_CONFIRMATIONS = Yes VERP_PASSWORD_REMINDERS = Yes VERP_PERSONALIZED_DELIVERIES = Yes VERP_DELIVERY_INTERVAL = 1 # [devmode] # enabled: yes # recipient: you@somewhere.com # # extra local settings for mailmen [mta] # NullMTA is just implementing the interface and thus satisfying Mailman # without doing anything fancy # outgoing: mailman.mta.null.NullMTA smtp_user: your_auth@your_MTA smtp_pass: supersecretpassword smtp_verify_hostname: yesorno smtp_secure_mode: starttls # or whatever
# [logging.debug] [logging.smtp] level: warn
also,
web/settings_local.py needs tweaking in some cases; the DJANGO_ALLOWED_HOSTS come from my docker-compose.yml
import os
# see https://github.com/maxking/docker-mailman/issues/548 django_allowed_hosts = os.environ.get('DJANGO_ALLOWED_HOSTS') if django_allowed_hosts: ALLOWED_HOSTS = django_allowed_hosts.split(':')
MAILMAN_WEB_SOCIAL_AUTH = [] SOCIALACCOUNT_PROVIDERS = { } DEBUG = False # see https://gitlab.com/mailman/mailman/-/issues/957 DEFAULT_AUTO_FIELD='django.db.models.AutoField'
HAYSTACK_CONNECTIONS = { 'default': { 'ENGINE': 'xapian_backend.XapianEngine', 'PATH': "/opt/mailman-web-data/fulltext_index", }, }
Am 10.01.23 um 09:11 schrieb Odhiambo Washington:
Hi Jörg,
Kindly share the link to the HOWTO, which you use to setup everything. I just need to test. Perhaps I can use docker on Windows, no?
On Mon, Jan 9, 2023 at 8:58 PM Jörg Schulz <info@joergschulz.de> wrote:
I have a successful installation using docker, just updated to the most recent version - it runs along quite some other docker containers, so there is a benefit when I want to switch machines. Am 07.01.23 um 12:02 schrieb Odhiambo Washington: > On Sat, Jan 7, 2023 at 1:54 PM Johannes Rohr <johannes@rohr.org> wrote: > >> I wanted to say "I have now chosen virtualenv". Sorry for the confusion. >> > I have never tried docker, but soon I will. Just for the kicks. > >
-- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254 7 3200 0004/+254 7 2274 3223 "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
participants (1)
-
J.Schulz