Re: [Mailman-Users] stange domain/url question

2006-07-20 Thread Anne Ramey

Mark Sapiro wrote:
 Anne Ramey wrote:
   
 Mark Sapiro wrote:
 snip
 
 Please address all questions to [EMAIL PROTECTED]
   
 
 
 This makes no sense. It shouldn't be -admin because that's a Mailman
 2.0.x artifact, but the 'mailman' site list didn't appear until 2.1.
   
   
 You are incorrect.  That is not a typo...it was copied and pasted from 
 the email I was sent this morning when I did a test.  I'm running 2.1.8, 
 but it's been upgraded time and again.
 


 Well then is your site list named 'mailman-admin' (I assumed it was
 'mailman')?
   
No, it's names mailman.  I can only assume the admin address is left 
over after upgrade.

   
 My default url host was still the old.  I'll change it and see if that 
 makes the difference.
 


 You need to not only make sure your DEFAULT_URL_HOST and
 DEFAULT_EMAIL_HOST are correct, you also have to insure that old
 values from Defaults.py are removed from VIRTUAL_HOSTS. You do this by
 putting the following in mm_cfg.py:

 # Remove old VIRTUAL_HOSTS entry from Defaults.py
 VIRTUAL_HOSTS.clear()
 # Set correct Domains
 DEFAULT_URL_HOST = 'correct.web.domain'
 DEFAULT_EMAIL_HOST = 'correct.email.domain'.
 # Add to VIRTUAL_HOSTS
 add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

 (You don't need the comments). Then restart Mailman (bin/mailmanctl
 restart) and run fix_url on all lists via

 bin/withlist -l -a -r fix_url
   
I think it may have been the clear command I was missing.  Thanks

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] stange domain/url question

2006-07-20 Thread Mark Sapiro
Anne Ramey wrote:

Mark Sapiro wrote:

 Well then is your site list named 'mailman-admin' (I assumed it was
 'mailman')?
   
No, it's names mailman.  I can only assume the admin address is left 
over after upgrade.


I've looked more deeply and found it is a bug in pre-Mailman 2.1.6
bin/newlist. That address is created as [EMAIL PROTECTED] where x comes from the
Defaults.py/mm_cfg.py setting MAILMAN_SITE_LIST, y should be 'owner'
but pre-2.1.6 is 'admin', and z is the list's host_name attribute.

Fixing the VIRTUAL_HOSTS dictionary and DEFAULT_*_HOST in mm_cfg.py
will take care of the host_name for new lists.

If you can live with the mailman-admin address in the notice, that's
fine, but note that if you actually mail to that address, it will only
get to the 'mailman' list owner if unrecognized bounce forwarding is
on and will be forwarded as an unrecognized bounce.

If you want to fix this in pre-2.1.6, find the line

siteadmin = Utils.get_site_email(mlist.host_name, 'admin')

and change it to

siteadmin = Utils.get_site_email(mlist.host_name, 'owner')

in both bin/newlist and Mailman/Cgi/create.py.

-- 
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] stange domain/url question

2006-07-19 Thread Anne Ramey
Not too long ago, we switched out domain from wwwadm.mydomain.com to 
lists.mydomain.com.  I used fix-url on all the lists, and when we create 
all lists now, we create then as
./newlist [EMAIL PROTECTED]

But when the email is sent to the administrator for these new lists it 
has wwwadm.mydomain.com referenced in it:

There is also an email-based interface for users (not administrators)
of your list; you can get info about using it by sending a message
with just the word `help' as subject or in the body, to:

[EMAIL PROTECTED]

To unsubscribe a user: from the mailing list 'listinfo' web page,
click on or enter the user's email address as if you were that user.
Where that user would put in their password to unsubscribe, put in
your admin password.  You can also use your password to change
member's options, including digestification, delivery disabling, etc.

Please address all questions to [EMAIL PROTECTED]


Does anyone know why this is happening?  Or how I get this to change to 
lists.mydomain.com?  My users are pretty much computer novices and this 
will confuse them.

Any assistance is appreciated.

Anne
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] stange domain/url question

2006-07-19 Thread Mark Sapiro
Anne Ramey wrote:

Not too long ago, we switched out domain from wwwadm.mydomain.com to 
lists.mydomain.com.  I used fix-url on all the lists, and when we create 
all lists now, we create then as
./newlist [EMAIL PROTECTED]

snip

you can get info about using it by sending a message
with just the word `help' as subject or in the body, to:

[EMAIL PROTECTED]

snip

Please address all questions to [EMAIL PROTECTED]


This makes no sense. It shouldn't be -admin because that's a Mailman
2.0.x artifact, but the 'mailman' site list didn't appear until 2.1.

Assuming this is a typo and is really [EMAIL PROTECTED], I
proceed.


Does anyone know why this is happening?  Or how I get this to change to 
lists.mydomain.com?  My users are pretty much computer novices and this 
will confuse them.


This is really the same issue as
http://mail.python.org/pipermail/mailman-users/2006-July/052345.html
which see.

If you only have the one domain, and it is DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST and is the only entry in VIRTUAL_HOSTS, you
shouldn't need to specify a domain to newlist and everything should be
OK.

In your case, the domain in the mailman address comes directly from a
lookup of DEFAULT_URL_HOST in the VIRTUAL_HOSTS dictionary. The domain
in the list-request address is the host_name attribute of the list (on
the General Settings page) which came from a lookup of
lists.mydomain.com (based on your newlist command) in VIRTUAL_HOSTS or
if not found, DEFAULT_EMAIL_HOST.

-- 
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] stange domain/url question

2006-07-19 Thread Anne Ramey

Mark Sapiro wrote:
snip
 
 Please address all questions to [EMAIL PROTECTED]
 
 This makes no sense. It shouldn't be -admin because that's a Mailman
 2.0.x artifact, but the 'mailman' site list didn't appear until 2.1.

 Assuming this is a typo and is really [EMAIL PROTECTED], I
 proceed.

   
You are incorrect.  That is not a typo...it was copied and pasted from 
the email I was sent this morning when I did a test.  I'm running 2.1.8, 
but it's been upgraded time and again.

 Does anyone know why this is happening?  Or how I get this to change to 
 lists.mydomain.com?  My users are pretty much computer novices and this 
 will confuse them.
 


 This is really the same issue as
 http://mail.python.org/pipermail/mailman-users/2006-July/052345.html
 which see.

 If you only have the one domain, and it is DEFAULT_URL_HOST and
 DEFAULT_EMAIL_HOST and is the only entry in VIRTUAL_HOSTS, you
 shouldn't need to specify a domain to newlist and everything should be
 OK.

 In your case, the domain in the mailman address comes directly from a
 lookup of DEFAULT_URL_HOST in the VIRTUAL_HOSTS dictionary. The domain
 in the list-request address is the host_name attribute of the list (on
 the General Settings page) which came from a lookup of
 lists.mydomain.com (based on your newlist command) in VIRTUAL_HOSTS or
 if not found, DEFAULT_EMAIL_HOST.
   
My default url host was still the old.  I'll change it and see if that 
makes the difference.
Anne
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] stange domain/url question

2006-07-19 Thread Mark Sapiro
Anne Ramey wrote:

Mark Sapiro wrote:
snip
 
 Please address all questions to [EMAIL PROTECTED]
 
 This makes no sense. It shouldn't be -admin because that's a Mailman
 2.0.x artifact, but the 'mailman' site list didn't appear until 2.1.
   
You are incorrect.  That is not a typo...it was copied and pasted from 
the email I was sent this morning when I did a test.  I'm running 2.1.8, 
but it's been upgraded time and again.


Well then is your site list named 'mailman-admin' (I assumed it was
'mailman')?


My default url host was still the old.  I'll change it and see if that 
makes the difference.


You need to not only make sure your DEFAULT_URL_HOST and
DEFAULT_EMAIL_HOST are correct, you also have to insure that old
values from Defaults.py are removed from VIRTUAL_HOSTS. You do this by
putting the following in mm_cfg.py:

# Remove old VIRTUAL_HOSTS entry from Defaults.py
VIRTUAL_HOSTS.clear()
# Set correct Domains
DEFAULT_URL_HOST = 'correct.web.domain'
DEFAULT_EMAIL_HOST = 'correct.email.domain'.
# Add to VIRTUAL_HOSTS
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)

(You don't need the comments). Then restart Mailman (bin/mailmanctl
restart) and run fix_url on all lists via

bin/withlist -l -a -r fix_url

-- 
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp