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

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



On Sat, 30 Jul, 2005, phyrster@xxxxxxxxx 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 you want to check what header fields this mailing list sends, check
some email with:

  :unignore *

I use these:

  :0
  * ^List-Unsubscribe:.*mutt-announce-request@mutt\.org
  list/mutt-announce_at_mutt.org

  :0
  * ^List-Unsubscribe:.*mutt-users-request@mutt\.org
  list/mutt-users_at_mutt.org

> 
> 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?
> 
> regards
> 
> bxuef
> 
> --
> dhammapada says:
>  
>   He who by here and now abandoning sensuality, has gone forth a homeless
>   wanderer, the search for pleasure extinguished - that is what I call a
>   brahmin. 415
>  

-- 
(dogmaT
        (icq 303140614)
        (jabber dogmat_at_njs_dot_netlab_dot_cz)
        (mail dogmat_at_dogmat_dot_us)
        (web http://dogmat.us))