[Mailman-Users] mailman and virtual domains

Klavs Klavsen kl at vsen.dk
Fri Sep 5 10:14:08 CEST 2003


On tor, 2003-09-04 at 09:31, Klavs Klavsen wrote:
> Hi guys,
> 
> I'm new to mailman, but I managed to get it set up on my Gentoo Linux :)
> 
> I wanted it to support virtual domains, because I'd like to run it on
> several domains (obviously :)
> 
> I have ofcourse searched the archives in search for answers, and since I
> couldn't find any answers that worked for me, I turn to you as a last
> resort.
> 
> I only have one problem left, if I set it up to service one of the
> virtual domains, the welcome to your new mailing list (and to users too)
> it uses my primary domain (vsen.dk - see the Defaults.py settings below)
> as the domainname :(
> 
Fixed this - just create lists with the listname at virtualdomain.tld and
it works.

> Also I was wondering if it is possible to have lists with the same name
> (f.ex. news) for different virtual domains. 
> 
in the lists/ folder i can see that listname at virtualdomain.tld is saved
as listname - which means I can't have two domains, with the same
listname :(

Anyone know how I can get this to work? or do I have to have seperate
installations of mailman - ie. does it not support virtual domains for
real (ie. with same listname for different domains)?

p.s. I installed the postfix-to-mailman.py script to avoid aliases :)
and now use lists.virtualdomain.tld for all lists.

Thank you for any help.

> my mm_cfg.py looks like this:
> MTA = 'Postfix'
> POSTFIX_STYLE_VIRTUAL_DOMAINS =
> ['lists.virkpaanettet.dk','lists.karismacentret.dk','lists.defaulttest.virkpaanettet.dk']
> OWNERS_CAN_DELETE_THEIR_OWN_LISTS = 1
> #VIRTUAL_HOSTS = {}
> 
> add_virtualhost('virkpaanettet.dk','lists.virkpaanettet.dk')
> add_virtualhost('www.defaulttest.virkpaanettet.dk','lists.defaulttest.virkpaanettet.dk')
> add_virtualhost('www.karismacentret.dk','lists.karismacentret.dk')
> 
> 
> a snipppet of Defaults.py is:
> DEFAULT_EMAIL_HOST = 'vsen.dk'
> DEFAULT_URL_HOST = 'vsen.dk'
> DEFAULT_URL_PATTERN = 'http://%s/mailman/'
> 
> Thank you for reading this far - I hope you can help.
-- 
Regards,
Klavs Klavsen, GSEC - kl at vsen.dk - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62
See my new CMS Hosting Service at http://www.VirkPaaNettet.dk

Working with Unix is like wrestling a worthy opponent. 
Working with windows is like attacking a small whining child 
who is carrying a .38.				
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/mailman-users/attachments/20030905/c5c621d5/attachment.pgp 


More information about the Mailman-Users mailing list