[Mailman-Users] problem with mailing lists general contact address

Mark Sapiro msapiro at value.net
Fri Dec 8 23:57:34 CET 2006


Henrik wrote:
>
>When I set up a mailing list, the general contact address on the 
>mail.mail.domainname.ca/mailman/listinfo page is listed as 
>mailman at mail.domainname.ca, rather than mailman at domainname.ca.


The domain in this address depends on whether or not
VIRTUAL_HOST_OVERVIEW is set to Yes or No. The default is Yes. If you
visit the http://www.example.com/mailman/listinfo overview page and
you see only lists in the www.example.com domain, then it is set to
Yes. If you see all the advertised lists on the server, then it is set
to No (in mm_cfg.py).

So, if VIRTUAL_HOST_OVERVIEW is set to No, the domain in the site list
address is the result of looking up DEFAULT_URL_HOST in the
VIRTUAL_HOSTS dictionary - i.e. it is the second argument from

add_virtualhost(DEFAULT_URL_HOST, xxx)

from mm_cfg.py (normally this is DEFAULT_EMAIL_HOST).

If VIRTUAL_HOST_OVERVIEW is set to Yes, the domain is the result of
looking up the host domain from the URL used to access the page.

In your case, assuming no typo above even though it looks strange,
there is an entry in mm_cfg.py like

add_virtualhost('mail.mail.domainname.ca', 'mail.domainname.ca')

that should be

add_virtualhost('mail.mail.domainname.ca', 'domainname.ca')

instead.

There is another possibility. This add_virtualhost entry also affects
your own lists. Is the domain 'mail.domainname.ca' the correct domain
for mailing to your lists? If so, you don't want to change the
add_virtualhost entry; you need to add an alias or whatever to the MTA
for your domain for the mailman list.

On the third hand, I visited the listinfo page on the server at
ns38.servepower.com, and it appears to be a cPanel mailman so I relly
don't have a clue. See
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.011.htp>.


>When I send a test email to mailman at mail.domainname.ca I get a bounce 
>back with this message:
>
>This is an automatically generated Delivery Status Notification.
>
>Delivery to the following recipients failed.
>
>mailman at mail.domainname
>
>
>When I send a test email to mailman at domainname.ca I get a bounce back 
>with this message:
>
>You are not allowed to post to this mailing list, and your message has
>been automatically rejected.  If you think that your messages are
>being rejected in error, contact the mailing list owner at mailman-owner at ns38.servepower.com.
>
>
>I presume this is a configuration issue. Unfortunately I do not have 
>access on the configuration server, and the webserve.ca support people 
>seem to be at a loss as to what to do.


You get the above message because the installation has only one site
list (mailman) for all supported domains and it is configured to
reject posts from non-members

Yet, since this is presumably a cPanel Mailman, if it is the case that
the domain for mail to your lists IS mail.domainname.ca, you may be
able to solve the whole problem by just creating a 'mailman' list in
your own domain.


>Judging from the fact that python's own mail list page uses 
>mailman at python.org, I presume that the issue is faulty configuration of 
>the general list contact address in the configuration file.
>
>Could someone explain to me how this can be fixed, so that I can pass it on?


If the above doesn't do it, let us know what else you need.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list