[EMAIL PROTECTED] wrote:

Hello

How can i configure mij me.rul that only attachements < 50 kb are allowed?

My current me.rul:

-------------------------------------------------------------

if (size()>50000) reject "Nothing over 50k is allowed"


ChrisP.

if(isin("body","<html>")) reject "No HTML posting allowed"

if  ishtml() reject "HTML not allowed"
if  isbinary()reject "Binary not allowed"

if (attach("*.scr")) reject "Attachment not allowed"
if (attach("*.pif")) reject "Attachment not allowed"
if (attach("*.lnk")) reject "Attachment not allowed"
if (attach("*.cmd")) reject "Attachment not allowed"
if (attach("*.bat")) reject "Attachment not allowed"
if (attach("*.vbs")) reject "Attachment not allowed"
if (attach("*.jpg")) reject "Attachment not allowed"
if (attach("*.mpg")) reject "Attachment not allowed"
if (attach("*.jpeg")) reject "Attachment not allowed"
if (attach("*.exe")) reject "Attachment not allowed"
if (attach("*.com")) reject "Attachment not allowed"
if (attach("*.prg")) reject "Attachment not allowed"
if (attach("*.log")) reject "Attachment not allowed"
if (attach("*.lib")) reject "Attachment not allowed"

if (attach("*.zip")) accepted "Zip is allowed"
if (attach("*.rar")) accepted "Zip is allowed"

accept "Article OK"







Reply via email to