procmail
[Top] [All Lists]

Re: Match if "no other but base64 encoding"

2006-12-21 09:24:09
On 21-Dec-2006, at 08:28, Rado S wrote:
        :0 BH:

BAD BAD BAD.

Never never NEVER put the default H flag in the header line.

         :0
         * ^content-type:.*text/plain
         * B ?? ^content-transfer-encoding:
         * ! B ?? ^content-transfer-encoding: *[^ b][^a][^s][^e]

or something like that (not that I am recommending your conditions as  
being a good idea, a good test, or even working at all, but the first  
line will match against the Header only (H is default) and the second  
and third will match, or not, on the Body).

-- 
The trouble with being a god is that you've got no one to pray to.


____________________________________________________________
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