> On Sun, 01 Apr 2001 13:11:19 +0200
> Chris Boot <[EMAIL PROTECTED]> wrote:
> 
>> What I've done is added some code to bin/newlist which will
>> generate the Procmail filtering rules for me.  I'm not sure how to
>> submit my changes, but here they are.  I did these changes on a
>> pretty vanilla Mailman-2.0.3 distribution.
> 
> Your procmail rules miss two interesting cases: messages CC'ed or
> BCC to the list.

Ah, yes, you're right.  I don't know how you can take care of BCC's (they're
_meant_ to be hidden, aren't they?), but here's the fix for the CC problem:

PROCMAIL_ALIAS_STYLE = """
:0
* $^TO_%(listname)s
| %(wrapper)s post %(listname)s

:0
* $^TO_%(listname)s+(-owner|-admin)
| %(wrapper)s mailowner %(listname)s

:0 
* $^TO_%(listname)s-request
| %(wrapper)s mailcmd %(listname)s
"""

The TO_ is a built-in Procmail rule which expands to:

(�((Original-)?(Resent-)?(To|Cc|Bcc)|
(X-Envelope|Apparently(-Resent)?)-To):(.*[�-a-zA-Z0-9_.])?)

-- 
Chris Boot
[EMAIL PROTECTED]

All your base are belong to us!



_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers

Reply via email to