[erlang-questions] EPmail-0.1 released

Alain O'Dea <>
Thu Jan 27 22:19:49 CET 2011


On 2011-01-27, at 10:27, Alexander Kuleshov <> wrote:

> Hello,
> 
> Today i  released epmail-0.1. EPmail - it's mailing system written in Erlang.
> Now it has only pop3 server. But in future i planned to do
> smtp/imap/pop3 server system in Erlang.
> 
> EPmail - https://github.com/onlyshk/epmail
> 
> EPmail Wiki - https://github.com/onlyshk/epmail/wiki
> 
> EPMail status - https://github.com/onlyshk/epmail/wiki/Status
> 
> I'm new in erlang and i think there are many bugs and defects, but i
> fix it with your help :)
> 
> How to install and run epmail pop3 server written in Wiki or in README
> file. Now you can connect to it by telnet or full value mail client. I
> tested with thunderbird for example.
> Mail storage is simple text file for every user, but in future i'll
> plan to bind database for users. Now pop3 server worked only for 1
> domain, but i fix it in next version.
> 
> I waiting for your critics, because your opinion is very important for
> the project and for me as a beginner Erlang programmer.
> 
> Please, feel free to fork it and improve project.
> 
> Thank you.
> 
> ________________________________________________________________
> erlang-questions (at) erlang.org mailing list.
> See http://www.erlang.org/faq.html
> To unsubscribe; mailto:
> 

Nice work Alexander :)

I noticed that you are using a receive loop in popd_listener.  It may be easier to spawn a child gen_fsm for each connection.  That would be an awesome next step.  Mitchell Hashimoto's http://spawnlink.com/articles/an-introduction-to-gen_fsm-erlybanks-atm/ is a very solid introduction to gen_fsm. Overall his blog is an excellent intro to OTP.  When you want to dig deeper you should pick up Erlang and OTP in Action http://manning.com/logan.

Keep up the good work :)

Sincerely,
Alain


More information about the erlang-questions mailing list