I'm a committer of the Apache James project which provide an full
Mailserver in java. We support LMTP/SMTP/POP3/IMAP. After looking at
your code I wonder if it would be interesting for you to reuse our
protocols library. It contains a very flexible api which allows to
wire in different handlers for different commands. We already have
LMTP/POP3/SMTP code in there which should be very easy for you to
extend and so provice the needed services.
The protocols libary[1]completly decouple the Transport from the rest
so it is easy to switch between NIO and IO. As default we ship an NIO
impl which uses Netty (for which I'm also an committer) under the
hood.
Please let me know if you want to talk about this futher...
All in all I think you did some very "good" work! Keep it going...
Thanks,
Norman