@ Barry A. Warsaw ([EMAIL PROTECTED]) :
>
> 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 [EMAIL PROTECTED], 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 [EMAIL PROTECTED]? Does your
> approach accomodate that?
Dear Barry,
In fact I do expose them as [EMAIL PROTECTED] (and not
[EMAIL PROTECTED]). 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
[EMAIL PROTECTED] 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
[EMAIL PROTECTED] root # intercept the usual stuff
[EMAIL PROTECTED] root
[EMAIL PROTECTED] 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$/ $[EMAIL PROTECTED]
# everything that comes here is braindead (addresses like [EMAIL PROTECTED])
/@listes\.rezo\.net$/ [EMAIL PROTECTED]
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 [EMAIL PROTECTED] line in
/etc/postfix/virtual
Hope this helps
-- Fil
_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers