I'm new to Mailman and I wonder if there is a proper way to
automatically add the addresses created in the virtual-mailman file
(when a new list is created) to a list for the check_sender_access
postfix restriction. For example, if I create the list "mailmantest",
the following is added to the virtual-mailman file:

# STANZA START: mailmantest
# CREATED: Wed Aug 26 11:32:36 2009
[email protected]              mailmantest
[email protected]        mailmantest-admin
[email protected]      mailmantest-bounces
[email protected]      mailmantest-confirm
[email protected]         mailmantest-join
[email protected]        mailmantest-leave
[email protected]        mailmantest-owner
[email protected]      mailmantest-request
[email protected]    mailmantest-subscribe
[email protected]  mailmantest-unsubscribe
# STANZA END: mailmantest

In my Postfix main.cf file I have:

smtpd_sender_restrictions =
     check_sender_access hash:/etc/postfix/lists_relay,
     reject

The /etc/postfix/lists_relay file is like this:

[email protected] OK
[email protected] OK
[email protected] OK

And so on.

I'd like those entries in the /etc/postfix/lists_relay file to be
created automatically after running "newlist mailmantest".

Regards.
------------------------------------------------------
Mailman-Users mailing list
[email protected]
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