Re: a parting of ways [was: patch #4 - mdebug]
[email protected] Tue, 31 Dec 2002 11:34:47 -0600
| Newsgroups | gmane.mail.eps |
|---|---|
| Organization | Inter7 Internet Technologies, Inc. |
| Message-ID | <[email protected]> |
Okay, cool. Just an FYI, the INTERFACE_STREAM handles on-the-fly processing of emails. The reason INTERFACE_BUFFER is prefered for eFilter, is because re-writing can be done so easily with it, and because eFilter doesnt want the message to touch the disk if it's going to end up being rejected (qmail semantics). Good luck on Bogofilter. David Relson wrote: > > Matt, > > Thanks for writing. After spending several days working with eps and > finding the going rather rough, I followed the lead of one of my bogofilter > co-developers and fleshed out the mime processing framework he had > started. The process reached a usable state several days ago, though > details are still being worked out. > > One of the big differences is that multiple copies of the message do not > need to be kept in memory. One copy is needed so that bogofilter can > output the message with an added "X-Bogosity" header line. The mime > processing and decoding can proceed "on the fly" as decoded outputs are > only needed for building wordlists for classifying the > message. Additionally, some chunks can simply be discarded, for example > attachments (since they don't appear in the "readable" portion of the message). > > Lastly, some of the typedef work I did on eps needs to be revised. Having > separate typedefs con_t, enc_t, dis_t, etc, but using the same values > (0,1,2,3,etc) doesn't work because the function that returns the values > doesn't distinguish which type is being returned. This leads to confusion > later on since values like CON_MULTI and ENC_BASE64 (both numerically "2") > can get confused. The solution is to have the enumerated symbols take on > different value sets. For example, CON_xxx at 10,11,12 and ENC_xxx at > 20,21,22,..., and DIS_xxx at 30,31,... works. > > Best wishes on the future of eps. > > Sincerely, > > David Relson -- mailto:[email protected] Matt Brookings - Chief Technical Officer Inter7 Internet Technologies, Inc. www.inter7.com - 847-492-0470 Prices at http://www.inter7.com/prices