Dirk FÃrsterling wrote:
So my question remains unanswered: How to create mailman mailing lists for different virtual domains using mailman and postfix just using the web interface?
You should have VIRTUAL_HOSTS set properly, using add_virtual_host() as well as POSTFIX_STYLE_VIRTUAL_DOMAINS. Then you should be able to visit the list creation page using the URL associated with the virtual domain for which you want to create the list.
As posted earlier, I already did this. But independent from the virtual domain of the web server, the creation page only creates postfix virtual maps (in /path/to/mailman/data/virtual-mailman) for the first/DEFAULT domain added using add_virtual_host(). I have something like this:
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain1.tld','domain2.tld','domain3.tld'] MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'domain1.tld' DEFAULT_URL_HOST = 'domain1.tld' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost('domain2.tld', 'domain2.tld'); add_virtualhost('domain3.tld', 'domain3.tld');
If I understood it correctly, the add_virtualhost() functions do the same as setting VIRTUAL_HOSTS= directly. I also tied this, which didn't change anything. Apache is set up with one virtual host per domain with mailman stuff added according to the docs like this:
ScriptAlias "/mailman/" "/path/to/mailman/cgi-bin/" <Directory "/path/to/mailman/cgi-bin/"> AllowOverride None Options None Order allow,deny Allow from all </Directory> Alias "/pipermail/" "/path/to/mailman/archives/public/" <Directory "/path/to/mailman/archives/public/"> Options FollowSymLinks AddDefaultCharset Off </Directory>
If I create a mailing list using any of the domains, for example http://domain3.tld/mailman/create, the virtual-mailman file always gets created using "domain1.tld", looking like this:
[EMAIL PROTECTED] listname [EMAIL PROTECTED] listname-admin [EMAIL PROTECTED] listname-bounces [EMAIL PROTECTED] listname-confirm [EMAIL PROTECTED] listname-join [EMAIL PROTECTED] listname-leave [EMAIL PROTECTED] listname-owner [EMAIL PROTECTED] listname-request [EMAIL PROTECTED] listname-subscribe [EMAIL PROTECTED] listname-unsubscribe
No option of the mailman web interface seems to be able to change this. What else can I try?
-dirk
-- D i r k F "o r s t e r l i n g [EMAIL PROTECTED] http://[EMAIL PROTECTED]/ ------------- bIQapqu'meH tar DaSop 'e' DatIvnIS
------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] 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/
This message was sent to: [EMAIL PROTECTED] Unsubscribe or change your options at http://mail.python.org/mailman/options/mailman-users/archive%40jab.org