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

Re: Deb-List Subject Line Tag?



On Thu, Feb 13, 2003 at 09:22:50PM -0800, Marc Wilson wrote:

| Then you should filter your mail before looking at it with pine.  Make the
| *computer* do all the work.

Good.

| Here's a procmail solution for you:
| 
| # Debian lists ...
| :0:
| * ^X-Mailing-List: .*[<].*@lists\.debian\.org[>]
| * ^X-Mailing-List: .*[<] *\/[^ ][^@]*
| $MATCH

Bad.

Suppose the following header is in an email :
    X-Mailling-List: <~/.bashrc@lists.debian.org>

Ouch.  You want to adjust that regex so it doesn't allow path-special
characters (such as '/') to be part of the resultant filename.

-D

-- 
Many a man claims to have unfailing love,
but a faithful man who can find?
        Proverbs 20:6
 
http://dman.ddts.net/~dman/

Attachment: pgp5Pp8MBWIrt.pgp
Description: PGP signature


Reply to: