2006年10月16日星期一

JamesNeo MailServer

J A M E S - N E O M a i l S e r v e r



James-neo mailserver is a OPEN SOURCE 100% pure Java server application
implements protocols SMTP, POP3. (with GPL,LGPL license)
its SMTP POP3 protocols is used source in "Apache James"
and use JavaMail API for out-going mail.


It is very easy for install and configuration:
1. download the zip file and extract it.(you proberly have done this when you reading this file)


2. edit conf/hosts
hosts lists the virture host name, each per line. for example: if the file look like this:
abc.com
mypc
then, mailto xxx@abc.com (mailto:xxx@abc.com) and xxx@mypc will be hosted in the server.


edit passwd in "conf/passwd", if file is not present, any password and any use is acceptable
usename1=password1
usename2=password2


3. run the server
unix:
java -cp james-neo.jar:javamail.jar:activation.jar:mail.jar neoe.james.MailServer 25 110 > log.txt 2>error.txt
windows:
java -cp james-neo.jar;javamail.jar;activation.jar;mail.jar neoe.james.MailServer 25 110 > log.txt 2>error.txt



Story:
I found "sendmail"'s configuration is too hard to master for me, so I found some java mail server.
i first found Apache James, it is good, but when running it, some problem come out(outgoing mail cannot sent without warnings)
and i don't know how to solve it.
so i was to make my own server.
I used the code of SMTP and POP3 from James and cut of the dependency of Apache Avalon and Apache Phoenix.
so the code is seem to simple and straight. in this way i can custom it easily, thanks for the opensource.


:)


neoe
2005/8/24



public-build:(2006/10/11)
* smtp: no auth, no relay, only accept domain in file "conf/hosts"
* pop3: passwd save in file "conf/passwd", if file is not present, any password and any use is acceptable
* server: must specify the port for smtp and pop3
* pop3 access log 1 hour 1 line


living demo: niuxd (AT) neoedmund.com
file download

-----

没有评论:

博客归档

neoedmund's shared items

我的简介

ZIP Code File