On 6/7/19 4:49 AM, Dennis Putnam wrote: > Thanks. That is what I need to override. How do I do that? >
To override the From: address, at lines 220.. in cron/mailpasswds you will see msg = Message.UserNotification( addr, siteowner, change siteowner to the literal address you want in quotes as msg = Message.UserNotification( addr, 'fromu...@example.com', To override the envelope sender, at lines 235.. you will see msg.send(sitelist, **{'errorsto': sitebounce, '_nolist' : 1, 'verp' : mm_cfg.VERP_PASSWORD_REMINDERS, }) ('verp' line in this email is wrapped - don't change that) Add a line to set 'envsender' to the address you want as in msg.send(sitelist, **{'errorsto': sitebounce, 'envsender': 'sen...@example.com', '_nolist' : 1, 'verp' : mm_cfg.VERP_PASSWORD_REMINDERS, }) -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
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