How do I use size of mail in a ruleset

2006-10-10 Thread Ramprasad
I want to use size of mail in a custom ruleset.
Can I get this as any parameter. Can someone please give me an example 



Thanks
Ram




Re: How do I use size of mail in a ruleset

2006-10-10 Thread Theo Van Dinter
On Tue, Oct 10, 2006 at 12:39:16PM +0530, Ramprasad wrote:
 I want to use size of mail in a custom ruleset.
 Can I get this as any parameter. Can someone please give me an example 

You'd have to define size of a mail (the whole mail?  headers?  body?
decoded body?  rendered body?  text/non-text?) and then write a plugin
to look that up and return the appropriate true/false value for the rule.

-- 
Randomly Selected Tagline:
This is a beta release of Red Hat Linux.  It is not intended for mission
 critical applications.  It's not even intended for non-mission critical
 applications.  Important data should not be entrusted to Wolverine,
 as it may eat it and make loud belching noises.
 - RedHat Beta release Wolverine


pgpJTOKA1HAIt.pgp
Description: PGP signature