Programming my own SMTP server from scratch??

Discussion in 'Programming/Scripts' started by CarbonCopy, Apr 19, 2010.

  1. CarbonCopy

    CarbonCopy New Member

    I'd like to start a new project. I'd like to program my own mail server to function as Postfix does. At first I only want a program that does the bare essentials (Not quite sure what the bare essentials involve but I'm researching it).

    I'd like to do this because not only do I dislike all existing SMTP servers, I'd like to learn more about it.

    I don't want anybody posting "Oh you should just use xyz program" or anything like that.

    Thanks for any help you can offer

    Edit: I believe the correct term is programming a mail transfer agent
    Last edited: Apr 19, 2010
  2. moonspa

    moonspa New Member

    Reuse, reuse, reuse


    If you really want to start from "scratch", I suggest you to look first at following project on sourceforge:

    This is pure java implementation of MAIL Server with of support POP3/SMTP. Sources are included so you'll get chance to REUSE some of the classes or patterns and maybe you'll even contribute that project.

    Next thing I would look at before implementation of SMTP server is following article - specification of SMTP protocol:

    Hope this help a bit.

    Cheers and good luck brave soul ;)

Share This Page