Setup an Email server

王朝other·作者佚名  2006-01-29
窄屏简体版  字體: |||超大  

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航