Peter Molnar wrote:
>
>I'd like to know, whether there's any way to change the way Mailman builds
>its own aliases file, for using with Postfix.


You'd need to modify Mailman/MTA/Postfix.py


>I'd like to get
>
>[EMAIL PROTECTED]:             "|/var/lib/mailman/mail/mailman post
>test"
>etc..


That's not a valid Postfix alias.

Note from 'man 5 aliases'

       ยท      An alias definition has the form

                   name: value1, value2, ...

...
       The  name  is a local address (no domain part).


>instead of:
>
>test:             "|/var/lib/mailman/mail/mailman post test"
>etc...


Are you sure you don't want virtual_alias_maps with

[EMAIL PROTECTED]   test
etc.

along with alias_maps

test:       "|/var/lib/mailman/mail/mailman post test"
etc...

To do this, you add

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.mydomain.com']

to mm_cfg.py and then mailman will create data/virtual-mailman with the
virtual maps for all lists in the lists.mydomain.com domain.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to