Automating procmail processing for new lists

The below suggestions to procmail before posting to the list requires manual configuration each time you set up a new list.
Is there a simple automatic way to achieve this?
Eric Smith
Quoting: http://www.mail-archive.com/mailman-users@python.org/msg55981.html
Taylor, Marc wrote:
I understand that postfix_to_mailman.py is packaged with the Debian/Ubuntu Mailman package, but it is 3rd party software, not supported (officially at least) by the GNU Mailman project.
That said, one possibility might be to modify the mailman transport in /etc/postfix/master.cf to invoke procmail instead of postfix_to_mailman.py and then have procmail invoke postfix_to_mailman.py for the mail it wants to deliver.
Another possibility is to modify postfix_to_mailman.py to invoje procmail instead of Mailman's mail wrapper and then have procmail invoke Mailman's wrapper to post the mail.
-- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Eric Smith wrote:
The below suggestions to procmail before posting to the list requires manual configuration each time you set up a new list.
Are you using postfix_to_mailman.py to deliver from procmail to Mailman? If so, that part of it should automatically be aware of all lists.
What specifically in your configuration needs to be manually made aware of new lists?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan

Eric Smith wrote:
The below suggestions to procmail before posting to the list requires manual configuration each time you set up a new list.
Are you using postfix_to_mailman.py to deliver from procmail to Mailman? If so, that part of it should automatically be aware of all lists.
What specifically in your configuration needs to be manually made aware of new lists?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Eric Smith
-
Mark Sapiro