Setup an Email server

 Setup an Email server

1. Download the James from Apache http://james.apache.org/
2. Unpack it, and go into the bin folder such as Q:/james-2.2.0/bin and "run"
3. At this point, you should not get any error, and then try "Ctrl +C" to stop it.
4. Open */apps/james/SAR-INF/config.xml make some change.
5. First change the "remoteManager" to have a new adminstrator user and password;
6. Run the James again and run telnet to connect and add a new user (For some bugs I think, after adding a new user with its password, you have to "setpassword" to a new password for the user. Or the user can be authorized correctly);
7. Modify the "pop3server" and "smtpserver" to your domain name, and other related attributes; be sure some points is commented correctly, for example:
         <!--
         <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">
            <processor> relay-denied </processor>
            <notice>550 - Requested action not taken: relaying denied</notice>
         </mailet>
         -->
because the initial config.xml is for a localhost mail server, such local ip(127.0.0.1) will block you from sending mail out.
8. Add an MX record to you DNS server, you can read more about MX record from your DNS provider;
9. Try to run James again and sending messages to other mail server;
10. Make further configuration change ...

Related link: http://www.whizzideas.com/whizznotes/xhtml/1962.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值