Brad Knowles wrote: >Quoting Michael Geiger <[EMAIL PROTECTED]>: > >> 2. create a new wrapper-script "mailman" (chown mailman:mailman, chmod 755): >> ----- BEGIN ----- >> #!/bin/sh >> /usr/bin/procmail -m /opt/mailman/mail/mailman.procmailrc $* >> ----- END ----- >> >> 3. create the file "mailman.procmailrc" (chown mailman:mailman, chmod 644): >> ----- BEGIN ----- >> :0 >> * ^X-Spam-Flag:.+YES >> /dev/null >> >> :0 >> |/opt/mailman/mail/mailman-org $1 $2 >> ----- END ----- > >You can do all of this from within Mailman itself. You don't need >procmail. If anything, you've made your mail server configuration >more complex and more error-prone than it needs to be, in order to >achieve your goal.
But Michael's solution applies to all mail to any Mailman list or list-* address. I assume Brad is thinking of header_filter_rules which have to be set per list and apply only to mail to the list and list-owner addresses. Michael's solution doesn't require procmail per se, but it depends on Mailman mail passing through some filter ahead of the mail wrapper which will drop the SA flagged mail. -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py 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://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp
