There is a file, sitelist.cfg, in the misc/ directory in the source
distribution that gets put in the data/ directory in an installed
Mailman. This is intended to be used as input to config_list to
configure the site list appropriately. However, some of its settings are
not appropriate.
Here's how I use and recommend the site list.
1) the members of the list are the site admins.
2) generic_nonmember_action is Accept.
This has two good effects. The 'help' address exposed on listinfo and
admin overviews works and delivers to an appropriate place, and output
from Mailman crons sent to the 'mailman' user actually gets delivered to
an appropriate place.
Now, you want to use a different address and this can be done but
requires some changes. For the address in listinfo, around line 122 in
Mailman/Cgi/listinfo.py change
siteowner = Utils.get_site_email()
to
siteowner = '[email protected]'
For the admin overview, around line 297 in Mailman/Cgi/admin.py change
mailman_owner = Utils.get_site_email()
to
mailman_owner = '[email protected]'
To change the password reminder From: header and the address in the
If you have questions, problems, comments, etc, send them to
%(owner)s. Thanks!
paragraph, at about line 197 in cron/mailpasswds, change
siteowner = Utils.get_site_email(host, 'owner')
to
siteowner = '[email protected]'
To change the new list notification From: header and
Please address all questions to %(siteowner)s.
paragraph, at about line 2646 in bin/newlist, change
siteowner = Utils.get_site_email(mlist.host_name, 'owner')
to
siteowner = '[email protected]'
and at about line 243 in Mailman/Cgi/create.py, change
siteowner = Utils.get_site_email(mlist.host_name, 'owner')
to
siteowner = '[email protected]'
All the above can also be accomplished by changing the get_site_email()
function in Mailman/Utils.py, but that isn't a good idea as the function
is used elsewhere.
Also, the address in the body of password reminders and new list mail
can be changed by creating edited cronpass.txt and newlist.txt templates
(see <http://wiki.list.org/x/4030605>), but without changing the code,
the From: will still be the sitelist-owner address.
--
Mark Sapiro <[email protected]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list [email protected]
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