Toen ik Chuck Campbell kietelde, kwam er dit uit:
:0:
* (^TO|^TO_|^SENDER|^FROM_DAEMON|^From:.*)linux-kernel*
linux-kernel
For many lists, the ^TO and ^TO_ are not reliable at all.
Further, a (^TO_|^TO) does about the same as just a ^TO.
With '^SENDER' I think you mean '^Sender:'.
The '^FROM_DAEMON' should not be there. See
man procmailrc for the underlying regexp:
you should not put 'linux-kernel' after it
(or anything else).
Your 'l*' at the end means: 0 or more el-s.
Focus on these headers:
Sender: linux-kernel-owner(_at_)vger(_dot_)kernel(_dot_)org
Precedence: bulk
X-Mailing-List: linux-kernel(_at_)vger(_dot_)kernel(_dot_)org
That inspires
:0:
* ^X-Mailing-List: \/[^(_at_)]+
$MATCH
For a more complete recipe, see the recent entry by
Sean B. Straw / Professional Software Engineering
in the thread "general mail list rules".
--
Affijn, Ruud
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail