Re: what's the difference between these two procmail filter rules?
On Sat, Jul 30, 2005 at 11:23:10AM +0800, phyrster wrote:
> In procmailrc , there is two rules like this:
This is not a procmail list!!!
So send your procmail questions to a more appropriate forum.
> Rule one:
>
> :0:
> * ^X-Mailing-List:.*.mutt\.org
escape the second period here
This doesn't work because mutt uses a different MLM than whatever other
mailing list you're copying this recipe from. Look at the headers of a
message from the mutt ML, and filter on that (hint - Sender is a good
one to use).
> * ^TO_.*mutt-users@mutt\.org
the .* is redundant here. However
The biggest difference between the two is that the first will only catch
messages acctually delivered through the mailing list software, whereas
the second should catch CCs to you as well as long as the list is in
the To / Cc headers.