For a toy project I'm looking for a lib that would allows me to build an imap server in *Erlang* independently of its storage layer, ie. being able to react to IMAP commands and return the content needed from them. DO you hav any lib to advise ?
I actually got pretty far with diemap, it was pretty usable to *read*
email in mutt/alpine/thunderbird/apple mail. Unforunately IMAP is an
incredibly complicated protocol, and the spec is vague or misleading in
several crucial places and there's a wide variety of incompatabilities
between various clients and servers.
I mostly gave up on diemap because it was a hobby project that just
needed too much time to finish. I'm confident I could have finished it
had I had an actual usecase that allowed me to devote enough time to it.
Not that any of this helps you, just trying to provide some context.