I've just installed mailman3 (well, mailman3-full) on a Debian 11 host from Debian packages. I thought I'd gone through /etc/mailman3/mailman.cfg thoroughly, but I am seeing the From: address email@example.com in some administrative notifications.
Now, when I search for help on this everything says that I have not set site_owner in /etc/mailman3/mailman.cfg, but I have!
As an example of what I am seeing, when I use the web interface to unsubscribe a list member, the member themself gets a notification as expected:
From: firstname.lastname@example.org To: email@example.com Subject: You have been unsubscribed from the Testing mailing list
but the list's owner gets one from "firstname.lastname@example.org":
From: email@example.com To: firstname.lastname@example.org Subject: Testing unsubscription notification email@example.com has been removed from Testing.
I can't for the life of me work out where this is coming from:
$ sudo ack site_owner /etc/mailman3 /etc/mailman3/mailman.cfg 28:site_owner: firstname.lastname@example.org $ sudo ack changeme /etc/mailman3
It's not in any of the sqlite DBs either (still on sqlite while testing things out):
$ sudo sqlite3 /var/lib/mailman3/data/mailman.db .dump | grep -i changeme $ sudo sqlite3 /var/lib/mailman3/web/mailman3web.db .dump | grep -i changeme
So where can this possibly be coming from?
I have not yet configured the MTA (Exim) for delivering to Mailman, and I haven't done anything special about sending settings:
[mta] # … outgoing: mailman.mta.deliver.deliver smtp_host: localhost smtp_port: 25 configuration: python:mailman.config.exim4
On Sat, Jun 18, 2022 at 01:57:29AM +0000, Andy Smith wrote:
I thought I'd gone through /etc/mailman3/mailman.cfg thoroughly, but I am seeing the From: address email@example.com in some administrative notifications.
Well, I rebooted the host and afterwards the site_owner was set as I expected. I really thought I had restarted mailman3.service and mailman3-web.service several times, but perhaps not…