• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Mail server.

 
sunny chang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm pretty new to java and even though I know the language enough to avoid syntax errors, when it comes to doing something as involved as building a mail server I have no idea. So I was hoping, people in the know - i.e this community - would help me out. So the task is this - building a POP3 and SMTP based mail server, with replication, distributed search and indexing, and failure recovery. Of course all of this has to be done in Java. So where do I begin ? Any ideas at all would be really helpful. At this point, I would just like to get the framework :

- development tools
- reading material (API manuals, protocol manuals, etc) .

setup and at least begin to think about handling basic functionality like:

- create account
- delete account
- login
- check mail.

The intricate details of distributed servers, and replication, I'm leaving for later. Thank you very much for any input that any of you might have. Really appreciated !
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sunny chang:
So the task is this - building a POP3 and SMTP based mail server, with replication, distributed search and indexing, and failure recovery.


I have to ask: why?
Unless this is an academic exercise it doesn't make sense to reinvent the wheel when there are numerous commercial and open-source alternatives available.
Nothing personal, but I certainly would not want to bet my email on a server that was written by someone who "know(s) the language enough to avoid syntax errors" and is brand new to enterprise programming.
 
sunny chang
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is an academic endeavor in the sense that I'm trying to understand distributed concepts better by picking a simple task like sending and receiving emails. You don't have to use my email server Joe :-)
 
Joe Ess
Bartender
Posts: 9362
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by sunny chang:
This is an academic endeavor. . .


Great. Some people show up here at the Ranch with Not Invented Here Syndrome, thinking that it's easier to spend months writing their own applications than reading a few pages of documentation.
As for starting points, how about the the Java Networking Tutorial. Wikipedia has some good introductions to the protocols: SMTP and POP3 and they link to more in-depth articles and specifications.
Good luck, and if you write something that's good enough, maybe you can have me eating crow.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!