On Sat, 29 Jun 2002, Edinilson J. Santos wrote:
> Davide, > > Xmail is very fast, no doubt about this. > The problem is: I'm using the windows version of xmail and using windows > scripting host to handle filters. > Some filters uses a file definition (to block spam, for example) that > increase every day and is more fast to run a separated process that loads > allfilters definitions once and stay in memory for future scanning. > Without this, will be imposible to any machine handle and filter thousand= s > ofmessages/day without slowing down Xmail (first impact of this could be > noticed in POP3). > > For this reason, I'm trying to do a script that simple do that job withou= t > "to confuse" Xmail. > > Please, only send me the steps (something like 1-spammers.tab, > 2-mailproc.tab, 3-domain.tab, and so on) of a incoming message. > The beta version of this filter is working today in a domain that handle = +- > 5000 messages/day without problems BUT I=B4m afraid if isn't missing some= thing > around. you don't need to do that. simply create a resident process that loads all filter definitions in memory and use some form of IPC between a very small executable ( the one run by XMail ) and the already loaded server. the protocol should be very simple: send the file path to scan, fetch a response. for IPC you can use named pipes or sockets. - Davide - To unsubscribe from this list: send the line "unsubscribe xmail" in the body of a message to [EMAIL PROTECTED] For general help: send the line "help" in the body of a message to [EMAIL PROTECTED]
