Rules for my boss

Julian Field MailScanner at ecs.soton.ac.uk
Tue May 22 21:39:47 IST 2007



Jorge Amador Arenas Quezada wrote:
> Hi:
>
> i have two questions to the experts, i hope someone point me in the 
> right direction
>
> 1.- with mailscanner can make a rule to stop mails above 10Meg but 
> only if is the number of recipients is more than 10 ?
You would have to do this with a little Custom Function. Attach it to 
the Maximum Message Size, and make it check the size of the array 
@{$message->{to}}. Start from the example Custom Function in 
/usr/lib/MailScanner/MailScanner/CustomFunctions and work from there. 
Should be pretty straightforward to write.

For a donation, I'll even write it for you :-)

>
> 2.- can someone point me in the direction or chpater in manual or book 
> ( i have it, and read it , but i believe i do not have enough 
> imagination to figure out how do this)
>
> thanks in advance
>
> Jorge
>
>
>
>

Jules

-- 
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
For all your IT requirements visit www.transtec.co.uk



-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk



More information about the MailScanner mailing list