-On Behalf Of Ashley M. Kirchner

-     In my sub filter, I have the following three lines:
> 
>     if (($type eq "text/plain") and 
> $entity->head->mime_attr("content-type.charset") eq "Windows-1251") {
>         return action_bounce("Charset Windows-1251 not 
> accepted here");
>     }


You should be able to substitute:
$entity->head->mime_attr("content-type.charset") =~ /Windows-1251/i

That will disregard case of the string.

Regards,
Matt Thomas

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang

Reply via email to