"Joe Cheong" wrote:
...
:0
* ^Content-type:.*image/jpeg
* HB ?? Content-transfer-encoding:.*(x-uuencode|base64)
The above conditions say:
If the header contains
"Content-type:.*image/jpeg";
and either header or body contains
"Content-transfer-encoding:.*(x-uuencode|base64)
then...
I think you want to make that
If header or body contains:
"Content-type:.*image/jpeg"
and
"Content-transfer-encoding:.*(x-uuencode|base64)
then...
In other words,
:0
* HB ?? ^Content-type:.*image/jpeg
* HB ?? Content-transfer-encoding:.*(x-uuencode|base64)
Or, even better,
:0 HB
* ^Content-type:.*image/jpeg
* Content-transfer-encoding:.*(x-uuencode|base64)
Actually, you could probably just skip the "content-transfer-encoding"
condition, since it's pretty unlikely that you'd get an image without
it.
cheers
--
Neither I nor my employer will accept any liability for any problems
or consequential loss caused by relying on this information.
Collin Park Not a statement of my employer.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail