procmail
[Top] [All Lists]

Re: Question about simple sorting.

2005-08-26 13:41:18
Am 2005-08-26 15:12:26, schrieb Steven W. Orr:
I'm on a list called mythtv-users and I put all the mail from that list 
into a seperate folder:

:0:
         * ^Subject:.*\[mythtv-users\]
mythtv-i

But some of the mail is not getting picked up. I figured it out that it's 
because of this:

Subject: =?ISO-8859-1?Q?Re=3A_=5Bmythtv-users=5D_Problems_with_Vi?=
     =?ISO-8859-1?Q?a_C3_compile=3F_=28Was=3A_mythplugin=3A_Ung=FCl?=
     =?ISO-8859-1?Q?tiger_Maschinenbefehl_=28unknown_machine_command=3F?=
     =?ISO-8859-1?Q?=29=29?=

What's a better way to do the filtering?

Maybe:

  __( '/home/michelle.konzack/.procmail/FLT_rfc2047' )__________________
 /
| :0
| * ^Subject:.*(=?ISO-8859-1|=?ISO-8859-15|=?WINDOWS-1252)?[QB]?
| { 
|   SUB=`formail -zX Subject: |mimedecode |tr -ds '[ntr]' ' '`
|   
|   :0 fhw
|   | formail -i "$SUB"
| }
 \______________________________________________________________________

TIA

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail