[Mailman-Users] drop spam solution

Brad Knowles brad at shub-internet.org
Tue Apr 15 17:07:33 CEST 2008


Quoting Michael Geiger <gege at mgeiger.de>:

> 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.

-- 
Brad Knowles <brad at shub-internet.org>
LinkedIn Profile: <http://tinyurl.com/y8kpxu>



More information about the Mailman-Users mailing list