|
Bonno, There are two _vbscript_ examples on my site: http://www.mailpure.com/software/decludefilters/beta/ "Size" would be a good place to start, but you can also get hints at how to do some other things with the "BlankSubject" script. Those are the only two in _vbscript_. You would configure the script in your Global.cfg like so: BIGBCC external 10 "CScript C:\IMail\Declude\Filters\BigBCC.vbs //B //NoLogo //T:30 RE=%RECIPIENTS%" 0 0 That will pass in all the recipients as an argument to the script, and you can then parse them out fairly easily. Declude automatically inserts the D* file location as the last argument. It will also pass in the message size, but that is easy to find and some code for that is in the "Size" script. I would imagine that you would want to prevent anything over a certain size from being sent to more than a certain number of recipients. Pay careful attention to the caveats. You likely have your own users whitelisted in Declude using WHITELIST AUTH. This will cause actions on this test to not be applied, and you also don't want to remove it. The best way to handle these circumstances is to delete or move the D* file when the script finds an issue, and let Declude just error, or maybe trim the D* message size to just 32 KB or something like that. You also should make sure that PREWHITELIST OFF is set in your config. While this will presently work with PREWHITELIST ON, if they fix that, it will suddenly stop working since that is a bug. Since you aren't using Declude for scoring the message or any message actions, you would want to make sure to exit the script with WScript.Quit(0). You might have your programmer join the list and ask for pointers when they need some direction. There are a few of us around here that have done _vbscript_ plug-ins for Declude, and it can be confusing if you don't fully understand what is going on, yet very powerful if you can figure it out. Matt Bonno Bloksma wrote:
|
- [Declude.JunkMail] large mail to large number op recips Bonno Bloksma
- Re: [Declude.JunkMail] large mail to large number op re... Darin Cox
- Re: [Declude.JunkMail] large mail to large number o... Bonno Bloksma
- RE: [Declude.JunkMail] large mail to large numb... John Carter
- Re: [Declude.JunkMail] large mail to large numb... Darin Cox
- Re: [Declude.JunkMail] large mail to large ... Matt
- Re: [Declude.JunkMail] large mail to l... Bonno Bloksma
- Re: [Declude.JunkMail] large mail ... Darin Cox
- Re: [Declude.JunkMail] large mail ... Matt
- Re: [Declude.JunkMail] large m... Scott Fisher
- Re: [Declude.JunkMail] large m... Matt
- Re: [Declude.JunkMail] large mail to large ... Matt
- Re: [Declude.JunkMail] large mail to large ... Bonno Bloksma
- Re: [Declude.JunkMail] large mail to l... Darin Cox
- Re: [Declude.JunkMail] large mail ... Scott Fisher
- Re: [Declude.JunkMail] large m... Matt
- Re: [Declude.JunkMail] large m... Scott Fisher
- Re: [Declude.JunkMail] large m... Matt
- Re: [Declude.JunkMail] large m... Scott Fisher
