Submitted by jahlewis on Sun, 06/14/2009 - 07:43
When changing a domain name for a virtual server, the mailman mailing lists do not change to reflect the new domain. If you need details, let me know.
Status:
Closed (fixed)
When changing a domain name for a virtual server, the mailman mailing lists do not change to reflect the new domain. If you need details, let me know.
Comments
Submitted by andreychek on Sun, 06/14/2009 - 08:28 Comment #1
This problem came up in this forum thread:
https://www.virtualmin.com/node/10012
It sounds like upon changing the domain name, the mailman lists no longer appear to be associated with the Virtual Server.
Part of this was corrected by manually changing the domain names listed in this file:
/etc/webmin/virtualmin-mailman/list-domains
However, jahlewis is seeing the old domain mentioned in some places still. As an example, he offered:
"if you go into the "manage mailing list", then embedded links to "moderate messages" etc. still show the old domain"
Submitted by JamieCameron on Sun, 06/14/2009 - 11:59 Comment #2
Ok, I see the bug that causes the list association to be incorrect .. I'll fix this in the next release of the Mailman plugin.
Changing references to the domain in the config for the Mailman list itself isn't going to be possible though, as these are stored in Mailman's configuration database, to which there is no easy access from other programs as far as I can see :-(
There are Mailman commands for working with the database.
Something like:
/usr/lib/mailman/bin/withlist -l -r fix_url listname -v -u newdomain.org
Submitted by JamieCameron on Sun, 06/14/2009 - 12:44 Comment #4
Cool, I didn't know about that! I will look into using those..
Submitted by JamieCameron on Sun, 06/14/2009 - 14:32 Comment #5
Ok, the next release of the Mailman plugin will update the list hostname and owner's email address when a domain is renamed..
Submitted by jahlewis on Mon, 06/15/2009 - 11:10 Comment #6
Don't forget the apache Regexp URL redirects for the domain as well.
Submitted by JamieCameron on Mon, 06/15/2009 - 11:44 Comment #7
The apache redirects should already be updated .. or is this not working for you?
Submitted by jahlewis on Mon, 06/15/2009 - 12:21 Comment #8
No, it did not update the apache redirects for mailman when I did the domain name change. We did it manually.
Submitted by JamieCameron on Mon, 06/15/2009 - 12:46 Comment #9
The next Virtualmin release fixes this too..
Submitted by Issues on Mon, 06/29/2009 - 13:18 Comment #10
Automatically closed -- issue fixed for 2 weeks with no activity.