Re: [Mailman-Users] when renaming a virtual domain the listinfo command can't show list

2011-12-30 Thread Peter Sørensen
Hi Mark,

Thanks again for clarifying my thoughts.
I found a recipe when googling that used the fix_url.py script 

I should instead just read the docs - sorry.

So to summarize.

I change the host-name on the general options page and then run genaliases to 
rebuild the virtual-mailman.db file.
Thats it - so simple.

Sorry for all my confusion on this.

regards

Peter



Fra: Mark Sapiro [m...@msapiro.net]
Sendt: 29. december 2011 18:11
Til: Peter Sørensen
Cc: mailman-users@python.org
Emne: Re: SV: [Mailman-Users] when renaming a virtual domain the listinfo 
command can't show list

On 12/29/2011 2:13 AM, Peter Sørensen wrote:

 The only links that is using the new domain is on the overview page and when 
 linking to the archives.

 If I put this into the config file:

 web_page_url = 'http://mymailserver.sdu.dk/mailman'

 The links are correct.


Now I am thoroughly confused. I thought the original issue was that you
wanted the list to be in the newdomain.sdu.dk domain so you did

withlist -l -r fix_url testsdu -u newdomain.sdu.dk

and then the list didn't appear on the listinfo overview. But, you had
(or put) VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py, and the list was then
on the overview, but now the issue is that the links on the overview and
for the archive had the newdomain.sdu.dk host and you apparently wanted
them to have the mymailserver.sdu.dk host.

So the question is why did you run

withlist -l -r fix_url testsdu -u newdomain.sdu.dk

in the first place, since all it does is effectively set

web_page_url = 'http://newdomain.sdu.dk/mailman'

and set the list's host_name to the corresponding email domain.

By running the withlist command and then setting the host in
web_page_url back to mymailserver.sdu.dk, at most, all you have done is
change the list's email domain which you could have done in the first
place by just setting the list's host_name on the web admin General
Options page.

--
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] when renaming a virtual domain the listinfo command can't show list

2011-12-29 Thread Peter Sørensen
Hi Mark,

Thanks again for taking your time to look into the problem.

The only links that is using the new domain is on the overview page and when 
linking to the archives.

If I put this into the config file: 

web_page_url = 'http://mymailserver.sdu.dk/mailman'

The links are correct. 

best regards

Peter

Fra: Mark Sapiro [m...@msapiro.net]
Sendt: 27. december 2011 18:17
Til: Peter Sørensen
Cc: mailman-users@python.org
Emne: Re: [Mailman-Users] when renaming a virtual domain the listinfo command 
can't show list

On 12/26/2011 10:07 PM, Peter Sørensen wrote:

 My fault -  cut  paste typo. What I actually did was:

 Withlist -l -r fix_url testsdu -u newdomain.sdu.dk

 And I have

 VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py.

 I can address the list on : http://newdomain.sdu.dk/mailman/listinfo/testsdu
 But all other lists area addressed on: 
 http://mymailserver.sdu.dk/mailman/listinfo/somelist

 What.s The problem ??


Check the list's Privacy options... - Subscription rules - advertised
setting.

If VIRTUAL_HOST_OVERVIEW = Off is in mm_cfg.py the advertised setting is
the only thing that controls whether a list appears on overviews.

--
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] when renaming a virtual domain the listinfo command can't show list

2011-12-29 Thread Mark Sapiro
On 12/29/2011 2:13 AM, Peter Sørensen wrote:
 
 The only links that is using the new domain is on the overview page and when 
 linking to the archives.
 
 If I put this into the config file: 
 
 web_page_url = 'http://mymailserver.sdu.dk/mailman'
 
 The links are correct. 


Now I am thoroughly confused. I thought the original issue was that you
wanted the list to be in the newdomain.sdu.dk domain so you did

withlist -l -r fix_url testsdu -u newdomain.sdu.dk

and then the list didn't appear on the listinfo overview. But, you had
(or put) VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py, and the list was then
on the overview, but now the issue is that the links on the overview and
for the archive had the newdomain.sdu.dk host and you apparently wanted
them to have the mymailserver.sdu.dk host.

So the question is why did you run

withlist -l -r fix_url testsdu -u newdomain.sdu.dk

in the first place, since all it does is effectively set

web_page_url = 'http://newdomain.sdu.dk/mailman'

and set the list's host_name to the corresponding email domain.

By running the withlist command and then setting the host in
web_page_url back to mymailserver.sdu.dk, at most, all you have done is
change the list's email domain which you could have done in the first
place by just setting the list's host_name on the web admin General
Options page.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] when renaming a virtual domain the listinfo command can't show list

2011-12-27 Thread Mark Sapiro
On 12/26/2011 10:07 PM, Peter Sørensen wrote:
 
 My fault -  cut  paste typo. What I actually did was:
 
 Withlist -l -r fix_url testsdu -u newdomain.sdu.dk
 
 And I have 
 
 VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py.
 
 I can address the list on : http://newdomain.sdu.dk/mailman/listinfo/testsdu
 But all other lists area addressed on: 
 http://mymailserver.sdu.dk/mailman/listinfo/somelist
 
 What.s The problem ??


Check the list's Privacy options... - Subscription rules - advertised
setting.

If VIRTUAL_HOST_OVERVIEW = Off is in mm_cfg.py the advertised setting is
the only thing that controls whether a list appears on overviews.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] when renaming a virtual domain the listinfo command can't show list

2011-12-26 Thread Peter Sørensen
Hello Mark,

My fault -  cut  paste typo. What I actually did was:

Withlist -l -r fix_url testsdu -u newdomain.sdu.dk

And I have 

VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py.

I can address the list on : http://newdomain.sdu.dk/mailman/listinfo/testsdu
But all other lists area addressed on: 
http://mymailserver.sdu.dk/mailman/listinfo/somelist

What.s The problem ??

Regards

Peter


Med venlig hilsen

Peter Sørensen
Vid.medarb., IT-service

Tlf.6550 2858
Fax 6550 2860
Email   mas...@sdu.dk
Web http://www.sdu.dk/ansat/maspsr
Adr.Campusvej 55, 5230 Odense M

SYDDANSK UNIVERSITET
___
Campusvej 55 * 5230 * Odense M * Tlf. 6550 1000 * www.sdu.dk



-Oprindelig meddelelse-
Fra: Mark Sapiro [mailto:m...@msapiro.net] 
Sendt: 23. december 2011 19:04
Til: Peter Sørensen
Cc: mailman-users@python.org
Emne: Re: [Mailman-Users] when renaming a virtual domain the listinfo command 
can't show list

On 12/23/2011 12:35 AM, Peter Sørensen wrote:
 
 I have a list named mytest in mydomain.sdu.dk and i want to change the 
 domain to newdomain.sdu.dk
 
 I call withlist -l -r fix_url.py testsdu mytest -u newdomain.sdu.dk


If you did literally the above, it didn't work. You must not have a .py 
extension on fix_url. Also, it appears you are trying to do two lists.
This requires two commands:

withlist -l -r fix_url testsdu -u newdomain.sdu.dk withlist -l -r fix_url 
mytest -u newdomain.sdu.dk


 And then genaliases to rebuild the virtiual-mailman file
 
 I can address the list and everything seems to work apart from the 
 list is missing on the web when using the listinfo command. I'm sure 
 that his is because a url is changed but I can't find out where. It's not in 
 the config file. Where to look ??


If the above is not the issue, then perhaps you are not visiting the correct 
listinfo URL. Lists whose host in their web_page_url attribute is 
newdomain.sdu.dk will only appear on the listinfo page 
http://newdomain.sdu.dk/mailman/listinfo. They won't appear on any other host's 
listinfo unless you set VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py.
See the FAQs at http://wiki.list.org/x/6oA9 and http://wiki.list.org/x/mIA9.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] when renaming a virtual domain the listinfo command can't show list

2011-12-23 Thread Peter Sørensen
Hi,

I have a setup with mailman where I use virtual domains with postfix.
This is working very well.

I know need to rename some of the domains for the list. So I do the following:

I have a list named mytest in mydomain.sdu.dk and i want to change the domain 
to newdomain.sdu.dk

I call withlist -l -r fix_url.py testsdu mytest -u newdomain.sdu.dk
And then genaliases to rebuild the virtiual-mailman file

I can address the list and everything seems to work apart from the list is 
missing on the web
when using the listinfo command. I'm sure that his is because a url is changed 
but I can't
find out where. It's not in the config file. Where to look ??


Best regards

Peter Sørensen/Univ. Of Southern Denmark/email: mas...@sdu.dk
--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] when renaming a virtual domain the listinfo command can't show list

2011-12-23 Thread Mark Sapiro
On 12/23/2011 12:35 AM, Peter Sørensen wrote:
 
 I have a list named mytest in mydomain.sdu.dk and i want to change the domain 
 to newdomain.sdu.dk
 
 I call withlist -l -r fix_url.py testsdu mytest -u newdomain.sdu.dk


If you did literally the above, it didn't work. You must not have a .py
extension on fix_url. Also, it appears you are trying to do two lists.
This requires two commands:

withlist -l -r fix_url testsdu -u newdomain.sdu.dk
withlist -l -r fix_url mytest -u newdomain.sdu.dk


 And then genaliases to rebuild the virtiual-mailman file
 
 I can address the list and everything seems to work apart from the list is 
 missing on the web
 when using the listinfo command. I'm sure that his is because a url is 
 changed but I can't
 find out where. It's not in the config file. Where to look ??


If the above is not the issue, then perhaps you are not visiting the
correct listinfo URL. Lists whose host in their web_page_url attribute
is newdomain.sdu.dk will only appear on the listinfo page
http://newdomain.sdu.dk/mailman/listinfo. They won't appear on any other
host's listinfo unless you set VIRTUAL_HOST_OVERVIEW = Off in mm_cfg.py.
See the FAQs at http://wiki.list.org/x/6oA9 and
http://wiki.list.org/x/mIA9.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://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: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org