procmail
[Top] [All Lists]

RE: decoding non-ascii subject lines

2007-11-05 17:15:10
Matthias Haker wrote Saturday, November 03, 2007 11:27 AM:

i found this on the Web

http://www.xs4all.nl/~rvtol/procmail/archive/

and the 101_bq.zip

contains what you need.

i use it this way

:0
* SUBJECT ?? ()\/.*=\?[a-z0-9-]+\?[bq]\?[^?]+\?=.*
{ 
 bq_Input=$MATCH
 bq_Dir="/etc/admin/procmail/inc/"
 INCLUDERC=/etc/admin/procmail/inc/bq.inc
 SUBJECT="$bq_Return"
}

Yes, Ruud wrote some great tools.

You other to set bq_Dir, but then in the very next line you
ignore your only chance to use it.  How about:

   INCLUDERC = $bq_Dir/bq.inc

-- 
dman
____________________________________________________________
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