procmail
[Top] [All Lists]

Re: PCs and ISO-Latin-1

2000-09-08 04:33:33
David,

        Thanks for the suggestions.  Here is my recipe under test.
Unfortunately, I am having a problem of arguments with tr.  It
complains "tr: Range endpoints out of order."  I even reset
SHELLMETAS.  I have anti-slashed all the characters of the second
argument, even placed them in single quotes.  From the trace that
procmail gives I ss only a single quote character being passed.  Is
this a feature of the printout or is this the problem?

        Thanks to all,

        --Ralph

:0
* ^X-Mailer:.*(UnityMail|Microsoft)
* ^Content-Type: .*;$? +.*iso-8859
* TEST ?? yes
{
    saveShellmetas = $SHELLMETAS
    SHELLMETAS

    # check body for \200-\237
    :0bfw
    * ^Content-Transfer-Encoding: 8bit
    * B ?? [?-?]
    | tr \\202\\210\\211\\213\\221\\222\\223\\224\\225\\226\\230\\233 
',^%<\\\'\\\'\"\"·-~>'

    # check body for multi-character expansions \204\205\227
    :0Bbfwa
    * [???]
    | sed -e 's/?/,,/g' -e 's/?/.../g' -e 's/?/--/g'

    SHELLMETAS = $saveShellmetas
}

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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