I’ve been getting a few emails about ErlMail in the past few weeks. Two people have reported bugs, one in the IMAP client and the other in the SMTP server. As soon as I am finished getting the bugs out of my Flash Media Server I’m going to concentrate on ERlMail for a while.
First I’m planning on a quick bug fix release to take care of the two known bugs, then I’m going to start on a few major parts of the ErlMail server. Here is a quick list of what I am planning on doing for the next version:
- Rework TCP communication in all modules
- Implement a modular and replaceable email store
- Create a MIME engine for encoding and decoding of MIME messages
- Create the IMAP server
The Email Store I am planning on creating will be a behavior that can be changed out so that you can use any type of message store you want. I intend on writing a generic version of a MailDir store and a MySQL store in the first version of the store.
Next the MIME engine is pretty self explanatory and it is needed for the bigger project that I really want to get to, the IMAP server.
The IMAP server will most likely be the most complicated piece of ErlMail for a while. The protocol itself is pretty large and so I will be implementing the most commonly used features at first and adding the rest as time permits. If I did my work on the IMAP client well enough I already have some of the code written for decoding the IMAP commands, I’ve got my fingers crossed on that one.
My intention is to have a fully functional, possibly not 100% RFC compliant, but working email server by the end of October. With the addition of the message store, the SMTP server will be able to store the messages, the MIME engine and IMAP server will allow client to retrieve the email from the server.
If the project goes well and time permits I will also be looking into adding a POP3 client and server and I’m going to be leaving hooks in my code to start implimenting some anti-spam features.
I already have one company that I am in talks with to sponsor my work on this and I am looking for anyone else who would like to as well. So if you are interested in seeing an open source OTP compliant email server drop me a line or use the donate link to help me pay my bills for next month. The more time I can spend on this the better and faster it will get done ![]()