script

Discussions on webmail and the Professional version.
Post Reply
ostester
Posts: 1
Joined: Tue Jun 05, 2007 9:05 am

script

Post by ostester » Tue Jun 05, 2007 9:20 am

I'm looking for a script that will meet the following

1. if the messege have a attachment of .tst extension
2. and the messege size is between 90k-35k
3. then to store it in certain mail box like temp@mydomain


Thanks in advance :!:

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Wed Jun 13, 2007 3:15 am

Criteria:
FilterResult=0
If CriteriaMet([ME_HASATTACHMENTSMATCHING],"*.tst*") Then
If CriteriaMet([ME_SIZE],">35840") AND CriteriaMet([ME_SIZE],"<92160") Then
FilterResult=1
End If
End If

Action:
Forward to temp@mydomain (or quarantine)
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

drkl
Posts: 39
Joined: Mon Sep 26, 2005 3:16 am

Post by drkl » Thu Jul 05, 2007 10:32 am

Please advise how to set script filter in ME Pro 1.85. Thank you.

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Fri Jul 06, 2007 5:10 am

Sorry scripted filtering is only a feature in version 2 of MailEnable.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

drkl
Posts: 39
Joined: Mon Sep 26, 2005 3:16 am

Post by drkl » Fri Jul 06, 2007 6:54 am

I have set inbound & outbound size to 10MB in ME Pro 1.85. I notice there are some mails in Inbound Queue which is more than 10MB but still there. Somae of them even reaches 20MB. Is it ME BUG???

MailEnable-Ben
Posts: 5858
Joined: Fri Jan 16, 2004 6:49 am
Location: Melbourne

Post by MailEnable-Ben » Mon Jul 23, 2007 11:20 pm

If you want to set a limit then set it on the inbound tab of the SMTP service. If you only have it set on the outbound the message is able to be received but then is not allowed to be relayed out of the server. The message will eventually timeout and end up in the bad mail folder.
Regards,

Product Services
MailEnable Pty Ltd

To keep track of all ME company updates and version releases you should subscribe to the MailEnable list at http://www.mailenable.com or the RSS feed http://www.mailenable.com/rss.

Post Reply