Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[Cerebrus][Imap] alpha test

 [1/5] from: gchiu:compkarori at: 17-May-2004 9:33


Maxim Olivier-Adlhoch wrote.. apparently on 13-May-2004/22:18:37-4:00
>given time and further outlook frustrations... I'm secretly thinking of using >cerebrus with imap to have better mail filtering cause I'm getting a slew of >spam at work...
Hi Max, I spent the better part of yesterday looking to see if I could implement an IMAP solution for Cerebrus. I got as far as being able to telnet into Cerebrus and being able to retrieve mail. When I used Outlook Express, it was able to correctly read all the folders, note the new email etc, but when it tried to retrieve mail, it complained that it couldn't. My logs show that the mail was being returned so perhaps Cerebrus is mangling it in some way that OE doesn't like. If you, or anyone else, is interested in helping me test/debug the imap side, please let me know and I'll send you a copy of the binary. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [2/5] from: moliad:aei:ca at: 16-May-2004 22:50


You mean you gave cerebrus clients a port so that they could receive their imap mail through it? :-) If I understand correctly, this means cerebrus gets the mails through imap and then provides them for the clients through an imap server port? -MAx ----- Original Message ----- From: "Graham Chiu" <[gchiu--compkarori--co--nz]> To: <[rebol-list--rebol--com]> Sent: Sunday, May 16, 2004 5:33 PM Subject: [REBOL] [Cerebrus][Imap] alpha test
> Maxim Olivier-Adlhoch wrote.. apparently on 13-May-2004/22:18:37-4:00 > > >given time and further outlook frustrations... I'm secretly thinking of using > >cerebrus with imap to have better mail filtering cause I'm getting a slew of > >spam at work... > > Hi Max, > > I spent the better part of yesterday looking to see if I could implement an
IMAP solution for Cerebrus.
> I got as far as being able to telnet into Cerebrus and being able to retrieve
mail. When I used Outlook Express, it was able to correctly read all the folders, note the new email etc, but when it tried to retrieve mail, it complained that it couldn't. My logs show that the mail was being returned so perhaps Cerebrus is mangling it in some way that OE doesn't like.

 [3/5] from: gchiu:compkarori at: 17-May-2004 15:19


Maxim Olivier-Adlhoch wrote.. apparently on 16-May-2004/22:50:23-4:00
>You mean you gave cerebrus clients a port so that they could receive their imap >mail through it? :-) > >If I understand correctly, this means cerebrus gets the mails through imap and >then provides them for the clients through an imap server port? >
No. Cerebrus is acting as an imap proxy .. it stores nothing itself. Otherwise I would have to write an imap server :( I can't see what's wrong though - the ethereal traces seem okay, but Outlook Express doesn't like it. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [4/5] from: gchiu:compkarori at: 18-May-2004 9:13


Graham Chiu wrote.. apparently on 17-May-2004/9:33:27+12:00
>I got as far as being able to telnet into Cerebrus and being able to retrieve mail. When I used Outlook Express, it was able to correctly read all the folders, note the new email etc, but when it tried to retrieve mail, it complained that it couldn't. My logs show that the
Interestingly, Outlook is less demanding than Outlook Express, and is accepting the email returned from Cerebrus' imap proxy. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml

 [5/5] from: gchiu::compkarori::co::nz at: 20-May-2004 22:43


http://www.compkarori.co.nz/cerebrus/cerebrus1573.exe flags: -nogui ( display the console ) -debugimap ( dump all imap transactions to cerebrus.log and console ) -passimap ( no spam filtering ) Here's a console session from rebol with userid and password obfuscated mbox: open [ scheme: 'imap host: 127.0.0.1 user: "[userid--203--79--92--225]" pass: "***" ] connecting to: 127.0.0.1
>> length? mbox
== 233
>> eml: pick mbox 222
== {Return-Path: ...
>> close mbox
Cerebrus parses out the imap server, in this case, 203.79.92.225, and logs in using the userid and password. Timeout is set to 30 secs as otherwise Outlook Express seems to just hang after grabbing all the folders. Seems to work with smallish size files, but not yet with larger files. Spam filtering is not working yet .. needs a lot more work. This is because OE grabs the headers first, and then grabs the whole email later on. Even if Cerebrus returns altered headers in the whole email, OE ignores these changes. -- Graham Chiu http://www.compkarori.com/cerebrus http://www.compkarori.com/rebolml