procmail
[Top] [All Lists]

Re: ER with brackets don't works

2006-08-20 03:04:56

On Thu, 17 Aug 2006, Michelle Konzack wrote:

Date: Thu, 17 Aug 2006 23:44:51 +0200
From: Michelle Konzack <linux4michelle(_at_)freenet(_dot_)de>
To: procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
Subject: Re: ER with brackets don't works

Am 2006-08-16 17:17:40, schrieb Udi Mottelo:

On Sat, 12 Aug 2006, Michelle Konzack wrote:

   :0:
   * ^Subject:.*=\?[^?]*\?[bq]\?[^?]*\?=
   in.suspect

This would work for those peoples using only US-ASCII.

     If =?big5? ...  It works for chinese too :-)
     and =?iso-2022-jp? for japanese

I mean, this allow only messages in 100% us-ascii
and droping all the rest.  If I write you a message and put
???? in the subject, this message would automaticaly filtered.
Same if I write you something in Hebrew.

        I mean that =?? is general and the REG shouldn't be left
        empty (=?....?).   You can get a message with  =?us-ascii?
        Maybe you can add one check:

:0:
* ^Subject:.*=\?[^?]*\?[bq]\?[^?]*\?=
* ! ^Subject:.*=\?us-ascii\?
in.suspect


Bye,
  Udi



Greetings
   Michelle Konzack


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                  50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    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






************************************************************************************
This footnote confirms that this email message has been scanned by
PineApp Mail-SeCure for the presence of malicious code, vandals & computer 
viruses.
************************************************************************************




____________________________________________________________
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

<Prev in Thread] Current Thread [Next in Thread>