> How do I write a rule for the subject header, but for working on the
> mimedecoded contents?
>
> For instance a simple rule to check the length of the subject:
>
> header BW_SUBJECT_LONG Subject =~ /.{100}/
>
> Problem is - when the subject has been mime-encoded, it's already very
> long:
>
> Subject:
> =?iso-8859-1?q?Danmarks_st=f8rste_smartphone-
> projekt_snart_i_luften_=2f_Unders=f8gelse:_Lille_? ==?iso-8859-1?q?
> gevinst_ved_offshoring_=2f_Software_som_service_er _endelig_p=e5_vej?=


I believe ot should work the way you want it to as you have it. If you
wanted to look at the undecoded mime you would do
Subject:raw =~ /something/

Loren