Re: "body" configuration option without "Subject" header?
On 12.07.2007 20:02 CE(S)T, Loren Wilton wrote:
>> Hm, according to the manpage, this doesn't remove HTML tags and it's >> matched line by line, so checking for a visually empty message isn't an >> easy job here. I guess for such advanced tests like whether a message is >> empty or not, I'll need to learn Perl and create my own function (or >> plugin) for it. :( >> >> Or has anybody a quick measure agains empty mails with "Invoice #0000" >> in the subject and only a PDF attached?
>
> You want empty body other than the subject line? I think there is an
> EMPTY_BODY rule already, or something very similar to that. Also I believe
> rules that fire on various amounts of body text.
Okay, and what about an HTML part like this:
I consider this empty, but ^$ does not. Any suggestions?
--
Yves Goergen "LonelyPixel"
Visit my web laboratory at
http://beta.unclassified.de
Received on Thu Jul 12 17:02:39 2007
This archive was generated by hypermail 2.1.8
: Fri Jul 20 2007 - 18:33:09 EDT
|