Why host_name and not domain?
Hello,
why I get as a subscriber a hostname and not an right email address?
I think, it is not good to answer with e.g. "Willkommen auf der Mailingliste %(real_name)s@%(host_name)s!" Why host_name??? host_name is not the domain! host_name is only the FQDN of the Server, but no domain.
This welcome email to the subscriber is going out of our LAN and the subscriber see the internal server name of mailman!!
And a mailing list isn't a 'name -at- Servername' but 'name -at- domain' !!
Not: name@mail.intern.company.de Right: name@company.com !!
How can I configure mailman???
I need help.
Thanks a lot, Oliver
Oliver Glueck wrote:
why I get as a subscriber a hostname and not an right email address?
Because your Mailman installation is misconfigured.
I think, it is not good to answer with e.g. "Willkommen auf der Mailingliste %(real_name)s@%(host_name)s!" Why host_name??? host_name is not the domain! host_name is only the FQDN of the Server, but no domain.
host_name should be the email domain for this list. If it isn't, then at least when the list was created, things like DEFAULT_EMAIL_HOST and/or the VIRTUAL_HOSTS dictionary were not properly configured.
This welcome email to the subscriber is going out of our LAN and the subscriber see the internal server name of mailman!!
And a mailing list isn't a 'name -at- Servername' but 'name -at- domain' !!
Not: name@mail.intern.company.de Right: name@company.com !!
How can I configure mailman???
DEFAULT_URL_HOST = 'the domain you want the world to see in web URLs' DEFAULT_EMAIL_HOST = 'company.com' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
in mm_cfg.py.
Then restart mailman and run
bin/withlist -a -l -r fix_url
to fix your lists.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I want to edit the list and create a new list over the webinterface. But I can't see the "list admin overview page"! I see no lists! No 'mailman' and no 'about-dummy'.
Why I cant see the list? (After I tried to send and deliver emails over the list.)
Before I changed the configuration (see bottom and inline), the webinterface works fine. And all lists I have seen.
And: If I create a new list, I get the message: "Error: Unknown virtual host: mail.intern.company.de"
Oops!?!?!? Whats now wrong?
Oh, I see a new email abot the problem :-) ...
Mark Sapiro schrieb:
Oliver Glueck wrote:
why I get as a subscriber a hostname and not an right email address?
Because your Mailman installation is misconfigured.
I think, it is not good to answer with e.g. "Willkommen auf der Mailingliste %(real_name)s@%(host_name)s!" Why host_name??? host_name is not the domain! host_name is only the FQDN of the Server, but no domain.
host_name should be the email domain for this list. If it isn't, then at least when the list was created, things like DEFAULT_EMAIL_HOST and/or the VIRTUAL_HOSTS dictionary were not properly configured.
This welcome email to the subscriber is going out of our LAN and the subscriber see the internal server name of mailman!!
And a mailing list isn't a 'name -at- Servername' but 'name -at- domain' !!
Not: name@mail.intern.company.de Right: name@company.com !!
How can I configure mailman???
DEFAULT_URL_HOST = 'the domain you want the world to see in web URLs' DEFAULT_EMAIL_HOST = 'company.com' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
in mm_cfg.py.
Then restart mailman and run
bin/withlist -a -l -r fix_url
to fix your lists.
Oliver Glueck wrote:
I want to edit the list and create a new list over the webinterface. But I can't see the "list admin overview page"! I see no lists! No 'mailman' and no 'about-dummy'.
Why I cant see the list? (After I tried to send and deliver emails over the list.)
Before I changed the configuration (see bottom and inline), the webinterface works fine. And all lists I have seen.
And: If I create a new list, I get the message: "Error: Unknown virtual host: mail.intern.company.de"
See the FAQ at <http://wiki.list.org/x/lYA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Hi,
it is terrible. And every pages are in English and my English is not good. :-(
I can't understand about VIRTUAL_HOSTS and add_virtualhost.
Now, I can reach the listinfo-page, but I can't create a list, because I get the error 'unknown virtual host: short-servername'
Hint: mailman installed with defaults: ./configure, make..
In my mm_cfg.py now: ---snip--- MTA = 'Postfix' DEFAULT_URL_HOST = 'short-servername.intern.company.de' DEFAULT_EMAIL_HOST = 'company.com' VIRTUAL_HOSTS.clear () add_virtualhost(DEFAULT_URL_HOST , DEFAULT_EMAIL_HOST ) POSTFIX_STYLE_VIRTUAL_DOMAINS = ['company.com', 'company.de'] ---snap--- With this entries I can see the listinfo but not create -> unknown virtual host...
I have tried in mm.., added: VIRTUAL_HOSTS = { 'www.company.com': 'company.com', 'www.company.de': 'company.de' } But I get an syntax error, marker at '}'
How looks a functional configuration? With: Mailserver = mailmanserver : name.intern.company.de Maildomain = company.com , company.de and the local domain intern.company.de because the server is in this domain I don't need to reach the mailman-web from the internet! Only from the intranet (LAN) But mails from the mailman to members have to show 'list@company.com' and no other links, because they don't have to reach the internal server from the internet. (www.company.com/mailman/listinfo has not to work! It will not be forwarded!)
Oh yeah, sorry.
----- Original Message ----- From: "Mark Sapiro" <mark@msapiro.net> To: "Oliver Glueck" <glueck@igroup.de> Cc: <mailman-users@python.org> Sent: Friday, February 27, 2009 5:32 PM Subject: Re: [Mailman-Users] Why host_name and not domain?
Oliver Glueck wrote:
I want to edit the list and create a new list over the webinterface. But I can't see the "list admin overview page"! I see no lists! No 'mailman' and no 'about-dummy'.
Why I cant see the list? (After I tried to send and deliver emails over the list.)
Before I changed the configuration (see bottom and inline), the webinterface works fine. And all lists I have seen.
And: If I create a new list, I get the message: "Error: Unknown virtual host: mail.intern.company.de"
See the FAQ at <http://wiki.list.org/x/lYA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Oliver Glück wrote:
it is terrible. And every pages are in English and my English is not good. :-(
I'm sorry, but it's much better than my German :(
I can't understand about VIRTUAL_HOSTS and add_virtualhost.
I don't think you need to, but see below:
Now, I can reach the listinfo-page, but I can't create a list, because I get the error 'unknown virtual host: short-servername'
Did you run
bin/withlist -l -a -r fix_url
after changing mm_cfg.py?
Hint: mailman installed with defaults: ./configure, make..
In my mm_cfg.py now: ---snip--- MTA = 'Postfix' DEFAULT_URL_HOST = 'short-servername.intern.company.de' DEFAULT_EMAIL_HOST = 'company.com' VIRTUAL_HOSTS.clear ()
This clears the VIRTUAL_HOSTS dictionary.
add_virtualhost(DEFAULT_URL_HOST , DEFAULT_EMAIL_HOST )
This adds an entry to the VIRTUAL_HOSTS dictionary with key = the value of DEFAULT_URL_HOST and value = the value of DEFAULT_EMAIL_HOST. I.e.
{'short-servername.intern.company.de': 'company.com'}
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['company.com', 'company.de']
Since with the above settings, all lists will be created with email host = 'company.com', the 'company.de' entry above is irrelevant.
---snap--- With this entries I can see the listinfo but not create -> unknown virtual host...
That says the POST action URL on the create page doesn't have 'short-servername.intern.company.de' as it's host name, but if you went to the listinfo page with this host name and saw the list, I don't understand why.
I have tried in mm.., added: VIRTUAL_HOSTS = { 'www.company.com': 'company.com', 'www.company.de': 'company.de' } But I get an syntax error, marker at '}'
I don't know why you get a syntax error unless there was something in what you added that isn't above, BUT do not do this. If yopu want to add additional entries to VIRTUAL_HOSTS, use add_virtualhost() as in
add_virtualhost('www.company.com', 'company.com') add_virtualhost('www.company.de', 'company.de')
How looks a functional configuration? With: Mailserver = mailmanserver : name.intern.company.de Maildomain = company.com , company.de and the local domain intern.company.de because the server is in this domain I don't need to reach the mailman-web from the internet! Only from the intranet (LAN)
So your list members don't go to ther web user options page or to the listinfo page?
But mails from the mailman to members have to show 'list@company.com' and no other links,
So DEFAULT_EMAIL_HOST = 'company.com'
because they don't have to reach the internal server from the internet. (www.company.com/mailman/listinfo has not to work! It will not be forwarded!)
It seems like the following should work
MTA = 'Postfix' DEFAULT_URL_HOST = 'short-servername.intern.company.de' DEFAULT_EMAIL_HOST = 'company.com' VIRTUAL_HOSTS.clear () add_virtualhost(DEFAULT_URL_HOST , DEFAULT_EMAIL_HOST ) POSTFIX_STYLE_VIRTUAL_DOMAINS = ['company.com']
as long as you always access the web interface via http://short-servername.intern.company.de/... URLs, but these URLs will also be visible in the headers of list posts unless you set include_rfc2369_headers to No.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Mark Sapiro -
Oliver Glueck -
Oliver Glück