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

[REBOL] [Cerebrus][Imap] alpha test

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