Hi Mark, After looking at this a bit I have a question. Are the strings 'owner', 'request' and 'bounces' appended to the list name?
list1-owner@domain list1-request@domain list1-bounces@domain On 6/5/2019 1:21 PM, Mark Sapiro wrote: > On 6/5/19 8:55 AM, Dennis Putnam wrote: >> I am trying to send a monthly reminder using 'mailman >> /usr/lib/mailman/cron/mailpasswds'. However, the messages bounce due to >> an invalid from address. How can I change the script to use a valid from >> address? Thanks. > > Why is the From: invalid? it is the site list -owner address and the > envelope is from the site list -bounces address. These should be > deliverable addresses. There is a potential issue with virtual domains > in that the domain of these addresses can be the virtual host domain and > the address may not be valid in that domain. > > We currently add the site list address in each virtual domain in > POSTFIX_STYLE_VIRTUAL_DOMAINS to the generated virtual-mailman file, but > we don't add the -owner and -bounces addresses. I'll fix that. See > <https://bugs.launchpad.net/mailman/+bug/1831777>. > > As far as changing these addresses is concerned, at lines 197-199 in the > script you'll see > > siteowner = Utils.get_site_email(host, 'owner') > sitereq = Utils.get_site_email(host, 'request') > sitebounce = Utils.get_site_email(host, 'bounces') > > You could replace host in these lines with the literal host name which > is valid for the site list in quotes like 'example.com'. > > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users@python.org > https://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://wiki.list.org/x/AgA3 > Security Policy: http://wiki.list.org/x/QIA9 > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > Unsubscribe: > https://mail.python.org/mailman/options/mailman-users/dap1%40bellsouth.net
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org