[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mutt + seperate folder for lists



On Fri, Feb 02, 2001 at 01:07:47PM +0100, Preben Randhol wrote:
>    :0
>    * ^X-Loop: debian-user@lists.debian.org
>    Debian-User
> 
> You can then add rules if you want to seperate other lists as well.

Of course, there's more than one way to do it.  If you're subscribed
to several debian lists, the following recipe is a winner:

# Debian lists ...
:0 
* ^X-Mailing-List: .*[<].*@lists\.debian\.org[>]
* ^X-Mailing-List: .*[<] *\/[^ ][^@]*
Mail/$MATCH/

I use maildir format; if you don't the trailing slash is not needed.

The following works well for spam (thanks craig sanders)(season to
taste):

## Spam filters
:0 
* ^TO(friend@public.com)|(free4u2.com)
Mail/SPAM/

:0 E
*
^FROM([0-9]+@)|(@widexs.com)|(newsletter@shoppingplanet.com)|(@sexyfun.net)
Mail/SPAM/

:0 E
* (^X-Advertisement:)|(^X-[0-9]: )
Mail/SPAM/

:0 E
* ^received:.*(cyber\-bomber|CLOAKED|from unverified source)
Mail/SPAM/

# impossible ip address in Received: line  - one of cyberpromo's
tricks.
:0 E
* ^Received.*\[[0-9\.]*([03-9][0-9][0-9]|2[6-9][0-9]|25[6-9])
Mail/SPAM/

# now check the body of the message for spam
:0 BE
* (EVALUATING MULTI-LEVEL SALES PLANS|SOURCES FOR THE BEST MAILING LISTS|MAJOR CORPORATIONS AND MULTI-LEVEL SALES|HOW TO MAKE $250,000 THROUGH MULTI-LEVEL SALES)
Mail/SPAM/

:0 BE
* (CREDIT CARDS ACCEPTED|GROUND[ -]*FLOOR OPPORTUNITY|Removal instructions|Internet Market(ing|er)|apologize for any inconvenience|Bulk Email|using Extractor Pro)
Mail/SPAM/

Cheers,

-- 
Nathan Norman - Staff Engineer | A good plan today is better
Micromuse Inc.                 | than a perfect plan tomorrow.
mailto:nnorman@micromuse.com   |   -- Patton

Attachment: pgp6bFQ_bx1fo.pgp
Description: PGP signature


Reply to: