[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Writing IMAP->GMail proxy... Where to go for IMAP RFC help?

Jon Fi

10/21/2006 2:02:00 AM

Hey everyone, this is only a partial ruby question... I discovered a
gmail library on RubyForge ... I was like, why hasn't anyone written an
IMAP proxy for GMail yet?

In just one day, I've implemented LOGIN, LOGOUT, NOOP(tehehe), and
LIST(partially). That being said, does anyone here actually understand
the IMAP commands well enough the could help out?

I'm reading the RFC and packet-sniffing the connection on my mail
client, but there's a few commands, FETCH, and UID that i'm having
trouble figuring out what the heck they do.

Can anyone point me to an IMAP command tutorial or lend me some help
explaining the syntax of a couple of commands? Writing a IMAP server is
pretty poopy.

--
Posted via http://www.ruby-....

5 Answers

Park Heesob

10/21/2006 3:39:00 AM

0


Hi,

>From: Jon Fi <exabrial@gmail.com>
>Reply-To: ruby-talk@ruby-lang.org
>To: ruby-talk@ruby-lang.org (ruby-talk ML)
>Subject: Writing IMAP->GMail proxy... Where to go for IMAP RFC help?
>Date: Sat, 21 Oct 2006 11:02:03 +0900
>
>Hey everyone, this is only a partial ruby question... I discovered a
>gmail library on RubyForge ... I was like, why hasn't anyone written an
>IMAP proxy for GMail yet?
>
>In just one day, I've implemented LOGIN, LOGOUT, NOOP(tehehe), and
>LIST(partially). That being said, does anyone here actually understand
>the IMAP commands well enough the could help out?
>
>I'm reading the RFC and packet-sniffing the connection on my mail
>client, but there's a few commands, FETCH, and UID that i'm having
>trouble figuring out what the heck they do.
>
>Can anyone point me to an IMAP command tutorial or lend me some help
>explaining the syntax of a couple of commands? Writing a IMAP server is
>pretty poopy.
>
If you know python, iGmail :: An IMAPv4 gateway to
Gmail(http://www.butterfat.n...) may help you.

Regards,

Park Heesob

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/...


Gregory Seidman

10/21/2006 5:35:00 PM

0

On Sun, Oct 22, 2006 at 12:06:40AM +0900, Francis Cianfrocca wrote:
} On 10/20/06, Chris Carter <cdcarter@gmail.com> wrote:
} >
} >Hi
} >> I'm unaware that Gmail even supports access by IMAP clients. Do you know
} >for
} >> sure that it does?
} >It does not, He is writing a proxy for it to suppport it.
}
} It would have to be a gateway rather than a proxy. (Of course these terms
} aren't precisely defined.) You'd basically have to gate IMAP to POP and
} store all the additional state in an intermediate server. Is that the idea
} here?

Er, if that's the goal then I implemented it a couple of years ago. I use
fetchmail to retrieve messages to my machine at home, which runs
courier-imap to serve IMAP. No Ruby involved.

--Greg


Jon Fi

10/21/2006 6:59:00 PM

0

Francis Cianfrocca wrote:
> On 10/20/06, Chris Carter <cdcarter@gmail.com> wrote:
>>
>> Hi
>> > I'm unaware that Gmail even supports access by IMAP clients. Do you know
>> for
>> > sure that it does?
>> It does not, He is writing a proxy for it to suppport it.
>
>
>
> It would have to be a gateway rather than a proxy. (Of course these
> terms
> aren't precisely defined.) You'd basically have to gate IMAP to POP and
> store all the additional state in an intermediate server. Is that the
> idea
> here?

Nope, better. The idea is a IMAP interface to gmail. Call it a gateway
or a proxy, either way it's single threaded(right now) and runs for
localhost connections only. Your GMail password is your IMAP password.

Thank you for the suggestions, I do not understand python very well but
i'll take a look. Would any GMail users be interested in helping out
develop this if I threw it out on rubyforge? Not really worth the hassle
if no one is gonna use it... Eventually I want a status GUI and a bunch
of other stuff

--
Posted via http://www.ruby-....

Kashia Buch

10/21/2006 9:01:00 PM

0


> Nope, better. The idea is a IMAP interface to gmail. Call it a gateway
> or a proxy, either way it's single threaded(right now) and runs for
> localhost connections only. Your GMail password is your IMAP password.
>
> Thank you for the suggestions, I do not understand python very well but
> i'll take a look. Would any GMail users be interested in helping out
> develop this if I threw it out on rubyforge? Not really worth the hassle
> if no one is gonna use it... Eventually I want a status GUI and a bunch
> of other stuff

Hell, I'd use it!

Kash

--
Using Opera's revolutionary e-mail client: http://www.opera...

pedro mg

10/21/2006 11:34:00 PM

0

Hi,

Kashia Buch wrote:
>
>> Nope, better. The idea is a IMAP interface to gmail. Call it a gateway
>> or a proxy, either way it's single threaded(right now) and runs for
>> localhost connections only. Your GMail password is your IMAP password.
>>
>> Thank you for the suggestions, I do not understand python very well but
>> i'll take a look. Would any GMail users be interested in helping out
>> develop this if I threw it out on rubyforge? Not really worth the hassle
>> if no one is gonna use it... Eventually I want a status GUI and a bunch
>> of other stuff
>
> Hell, I'd use it!
>
> Kash
>
> --Using Opera's revolutionary e-mail client: http://www.opera...
>

Hell, me too :)

--
pedro mg
http://blog.tqu...