I haven't run any real trials with my code, but as I understand it, Scope has to return a return code value indicating what is to be done with the original message captured by the mail server. I assume that XMail blocks processing on the "filtering thread" until the external process has completed work. I'll also assume that XMail has a timeout to prevent accidents should the external daemon go down, etc. I think that's the meaning of the wait reserved word.
All this is conjecture; I only began working with XMail last week so I don't fully understand its internals. Rob ----- Original Message ----- From: "Liron Newman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 22, 2002 6:14 AM Subject: [xmail] Re: outgoing filters > > BTW, how does your program (And Scope for that matter) handle the fact > that the filters run asychronously to XMail's message handling? > > Robert J. Lebowitz wrote: > > >>>I am really missing a filtertab something like "out.tab", > >>>trigged on outbound messages only. Davide, is there any thoughts > >>>about implementing a feature like this ? > >>> > >>> > >>The filter architecture will be changed shortly. > >> > >> > > > >Davide: > > > >Since you're rearchitecting the filter system, perhaps you'd give some > >thought to an added feature that Thomas and I have been discussing. Thomas' > >Scope filter was developed in an effort to reduce the number of times that > >XMail would have to marshal resources to launch a filter application from > >the commandline. By using a separate daemon to process requests, and > >calling that daemon via a socket, his Scope system shows some performance > >gains. > > > > > [snip] > > > > > > > - > 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] - 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]
