Mailman and virtual domains
5 Replies
You can't do this via RPM, but you can do it with the source file. Just specifiy your options while running ./configure.. there are help files to show the options.
Here's Mine (I created a script to run it with these options)
./configure –prefix=/home/mailman --with-username=dflists --with-groupname=darkforest --with-mailhost=darkforestmud.net --with-urlhost=darkforestmud.net --with-cgi-gid=darkforest --with-mail-gid=postdrop
Then I continue, setting everything up for this mailman. Then I run it again, such as:
./configure --prefix=/home/mailman2 --with-username=mailman2 --with-groupname=mailman2 --with-mailhost=intermountaingrove.org --with-urlhost=intermountaingrove.org --with-cgi-gid=apache --with-mail-gid=apache
The RPM put this in my httpd.conf.
ScriptAlias /mailman/ /var/mailman/cgi-bin/
Alias /pipermail/ /var/mailman/archives/public/
That made the web interface accessible as /mailman from any of my virtual domains. Mailman recognises the domain you are accessing it from so if you create a new list from
Its been a while but here's what I remember:
The list name must be unique across all domains, ie you can't directly (but see below) have
I wanted the same list name, eg MyList, (but different actual lists) under different domains so I named them something like mylist1 and mylist2 and then set some entries in SendMail's virtusertable to forward
The only thing not transparent to the users was the welcome message. I added some extra text at the top to say "You can also send to this list at
Well … I don't know if that helps
Good luck
Ross
Trying to think back, I believe mailman's RPM only sets up one mailman.conf file. As most of my lists are email-oriented, mailman as a defaultemailhost that will send email from one
listname-(post|subscribe|…)@domain
maps to
listname-domain-(post|subscribe|…)@lists.otherdomain.com.
Then, to create a list, you need to actually make the list "listname-domain" on your mail server and give that list the alias "listname@domain".
Of course, if you don't mind the constraint that listnames have to be unique across virtual domains, then none of what I said is needed at all.
(I also managed to work in POP/IMAP access with Dovecot and user/domain info storage with PostgreSQL)