<<< Date Index >>>     <<< Thread Index >>>

Re: what's the difference between these two procmail filter rules?



On Sat, Jul 30, 2005 at 11:23:10AM +0800, phyrster wrote:
> Hi mutters in mud,
> 
> 
> In procmailrc , there is two rules like this:
> 
> Rule one:
> 
>       :0:
>       * ^X-Mailing-List:.*.mutt\.org
>       mutt
> 
> Rule two:
> 
>       :0: 
>       * ^TO_.*mutt-users@mutt\.org
>       mutt 
> 
> If the first one is used, then mail from this list won't be filtered and the
> second one works well. However, the first rule works well with debian
> mailing list. 
> 
> What's the difference between these rules? I think the first one is better
> but why it fails?

There is no "X-Mailing-List" header field in the mutt-users mailing list,
that I can see.  You have to choose a field that you can filter on
that's relevant to each circumstance.

mm