joltra-imap-server
IMAP Server module for Nodejs
I needed an IMAP command parser and server which I could easily modify to integrate it in any storage system so I created this library in which every IMAP command can be easily overwritten.
Installation
npm install joltra-imap-server
Usage
var ImapServer = ;ImapServer;
Command override example
//login function override{ ifcommandargs0 == "user" && commandargs1=="pass" socket; socketIMAPState = ImapServerIMAPStateAuthenticated; else socket; }ImapServerIMAPCommandsLOGINcallback = ImapLogin;
Notes
- Default port : 143