Sorry for bothering you guys. Found answer to my question: body BODY_RULE_1 /[::blank::]/ describe BODY_RULE_1 blank mail body score BODY_RULE_1 1.0
mimeheader MIMEHEADER_RULE_01 Content-Type =~ /multipart\/mixed/i describe MIMEHEADER_RULE_01 Attachments score MIMEHEADER_RULE_01 0.5 meta META_RULE_1 BODY_RULE_1 && MIMEHEADER_RULE_01 describe META_RULE_1 Empty mail body with attachment score META_RULE_1 1.5 Thanks, -Swati On Sat, Mar 24, 2012 at 12:13 PM, Swati Rananaware < swati.rananaw...@solutionenterprises.co.in> wrote: > I want to create a rule to flag a mail with empty message body and > attachment. I have read about the PDFInfo plugin but I am not allowed to > enable any kind of plugin on server. So creating a rule is must for me. I > have created some rules previously, but the problem is I am not able to > understand, how to check for empty message body? Because even if we have > sent a empty mail, mail contains > > --f46d04479717af73f704bb6c327d > Content-Type: text/plain; charset=UTF-8 > > > > --f46d04479717af73f704bb6c327d > > In that case, I am not able to find a way to filter a message with empty > body. > Please suggest something to sort out this problem. > > Thanks in advance. > > >