Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 19th April 2010, 03:02
CarbonCopy CarbonCopy is offline
Join Date: Apr 2009
Posts: 52
Thanks: 1
Thanked 2 Times in 2 Posts
Question Programming my own SMTP server from scratch??

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 by CarbonCopy; 19th April 2010 at 03:07.
Reply With Quote
Sponsored Links
Old 13th May 2010, 10:00
moonspa moonspa is offline
Junior Member
Join Date: Jan 2010
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default 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
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What can be wrong martin_rudowicz Installation/Configuration 10 1st December 2014 10:13
Problem with mail server and subdomains MyKE General 7 26th February 2010 11:18
Problem with keeping Apache alive bobeq Server Operation 3 29th November 2007 17:11
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 16:47
Email - Ueb-Miau mazhar Installation/Configuration 5 21st December 2005 11:01

All times are GMT +2. The time now is 02:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.