[Mailman-Developers] Creation/deletion of lists through-the-web
Fil
fil@rezo.net
Thu, 10 May 2001 21:57:01 +0200
@ Barry A. Warsaw (barry@digicool.com) :
>
> Fil> So in postfix create a new virtual domain (listes.rezo.net in
> Fil> my case) within the /etc/postfix/virtual file ; **this domain
> Fil> will be totally used by mailman**
>
> Hi Fil,
>
> If I understand correctly, this means your mailing lists have to be
> advertised as mylist@virt.mydomain.com, right? I.e. you have to
> expose the virtual host in the domain part of the address.
>
> What if I want to advertise lists as mylist@mydomain.com? Does your
> approach accomodate that?
Dear Barry,
In fact I do expose them as listname@rezo.net (and not
listname@listes.rezo.net). On the rezo.net server (which i separate from
listes.rezo.net for efficiency purposes: I don't want my personal mail mixed
with heavy list sends) there is a fallback mechanism implemented with a
virtual domain served as regexp. **This is very convenient, but not
necessary, as the following will show.**
Let's summarize what I use
**************************
on rezo.net you find:
-----------
/etc/postfix/main.cf:
virtual_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual:
rezo.net virtual
fil@rezo.net fil # localhost delivery
.... # any other fixed addresses and aliases
@rezo.net @listes.rezo.net
on listes.rezo.net:
------------------
/etc/postfix/main.cf
virtual_maps = hash:/etc/postfix/virtual,
regexp:/etc/postfix/virtual-regexp
/etc/postfix/virtual:
listes.rezo.net virtual
postmaster@listes.rezo.net root # intercept the usual stuff
root@listes.rezo.net root
abuse@listes.rezo.net root
/etc/postfix/virtual-regexp:
# everything that comes here is served (of refused!) by mailman
/^([a-zA-Z0-9\_\-]+)-(post|admin|request|subscribe|unsubscribe)@listes\.rezo\.net$/ mailman-$2+$1
# everything that comes here is for posting to a list, so go back to list-post
/^([a-zA-Z0-9\_\-]+)@listes\.rezo\net$/ $1-post@listes.rezo.net
# everything that comes here is braindead (addresses like toto%2@listes.rezo.net)
/@listes\.rezo\.net$/ abuse@listes.rezo.net
How to do it more simply (i.e. no supplementary domain)
************************
Just take the listes.rezo.net part, replace listes.rezo.net by your
domain.net, and add the "fixed aliases" after the abuse@domain.net line in
/etc/postfix/virtual
Hope this helps
-- Fil