• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can anybody help overcoming my curiosity

 
seema kamath
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
I always wanted to create a mail server of my own. But i dont exactly know how to go about it.Can anybody help me out with a generalised idea.From where do I get some resources on this. Please help me .Thanks in advance

Seema
 
netharam ram
Ranch Hand
Posts: 202
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But Seema I have posted the same topic a month ago & haven't got any reply.I don't know why none has replied it.If u get any reply just do inform me too.
e-mail address(javaramji@yahoo.com)
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Protocol:
SMTP -- how your server talks to other mail servers:
Check out http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2821.html (latest and greatest SMTP) or http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc0821.html (older SMTP but I think it's easier to understand). Also, many you will want a way to determine what SMTP server goes with a domain name. Once I wrote some code for that. It requires dnsjava.jar for the dns functions (looking up MX records). You should be able to find it with Google (I don't want to find it). Here is my code:

List of relevent rfc's:
http://www.cis.ohio-state.edu/Services/rfc/smtplist.html
POP3 and IMAP -- how users get their mail through mail software (web-based mail is an alternative):
pop3 rfc http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1939.html
imap rfc http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc2060.html
List of relevent rfc's:
http://www.cis.ohio-state.edu/Services/rfc/ipoplist.html
You might want to look at the source code from some open source server implementations (for any standard protocol -- pop3/imap/smtp/http/ftp/etc.) to get an idea of how to implement such protocols. You'll also have to make some descisions regarding where you store mail. In a database? Maybe the filesystem? Plugins for both? It's up to you. Anyway, this should get you started. Be warned that it will take some real work.
Hope this was useful,
Dave
[This message has been edited by David Garland (edited August 23, 2001).]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!