procmail
[Top] [All Lists]

Re: Need for assistance

2005-08-06 09:26:42
On Sat, Aug 06, 2005 at 09:09:53AM -0400, Tony McClenny wrote:

I would appreciate your assistance in discovering the proper code
to eliminate an incoming message with foreign (to me) language
characters in the subject line.  I believe I should use a filter
for the "Windows-1251"


Been covered in the searchable archives at least 20 times, including
at least twice in the past 3 months.

  SPACE = ' '
  TAB = '       '

  :0:
  * $ ^Subject:.*\/[^$WS].*
  * $ MATCH ?? [^$TAB$SPACE-~]
  hibit_chars


David Tamkin gets credit for first -- so far as I know --
proposing the basic algorithm, many years ago.

Dallman

____________________________________________________________
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