基于 CentOS_6.7_X64 配置 James2.3.2 邮件服务器

本文详细介绍了如何在 CentOS 6.7 64位系统上搭建 Apache James 2.3.2 邮件服务器,包括安装 JDK,确保端口可用,安装 Mysql,下载并配置 James 安装包,修改配置文件以使用数据库存储,设置 DNS 解析,以及调整服务器内存参数。最后,通过 MX 记录配置和 Foxmail 客户端测试验证邮件服务器的正确运行。
摘要由CSDN通过智能技术生成

一、准备工作

1、必须必须必须安装JDK(最好是1.6以上版本,别忘了配置好环境变量JAVA_HOME),因为James是纯Java写的,没有安装JDK那么James铁定跑不起来


2、James 启动时,SMTP服务默认占用25端口,POP3服务默认占用110 端口,NNTP 服务默认占用119端口, 请确保这些端口未被占用,可使用 "netstat -tunlp" 查看端口使用情况


2、安装Mysql5.5(CentOS自带的5.1版先卸载),因为James提供多种邮件存储方式,其中一种是数据库(也是本文所用的存储方式)


3、下载 apache-james-2.3.2.tar.gz  或  apache-james-2.3.2.zip 安装包,可先下好再传到远程CentOS服务器上(本文使用的是腾讯云服务器)


二、安装James2.3.2

1、正式安装之前,请先切换到 root 用户(官网是这么建议的,不切换的话后面会有很多权限问题):



2、进入apache-james-2.3.2.tar.gz 或 apache-james-2.3.2.zip所在目录,解压安装包(.tar.gz使用 tar -zxvfapache-james-2.3.2.tar.gz,.zip使用 unzip apache-james-2.3.2.zip):



3、解压后得到james-2.3.2目录,进入该目录下的bin目录中,给run.sh和phoenix.sh添加可执行权限:


<

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
代理服务器。 P H O E N I X 4.0 What is it? ----------- It is meta-server - a server kernel on top of which other servers are built. Where is it? ------------ http://jakarta.apache.org/avalon/phoenix What is related to it? ---------------------- http://jakarta.apache.org/avalon - the parent project for Phoenix. http://jakarta.apache.org/avalon/framework - a service framework initiative. http://jakarta.apache.org/avalon/cornerstone - a set of reusable components that Phoenix server applications may use. http://jakarta.apache.org/avalon/apps - a set of complete and in-progress applications for Phoenix. http://jakarta.apache.org/james - a mail server that runs as a Phoenix server application. Requirements ------------ -JDK1.3 or above -To build form CVS you must set JAVA_HOME to the jdk dir (eg:/usr/bin/jdk1.3 or c:\jdk1.3) Note for JDK1.4 users, please remove xerces.jar from Phoenix's lib dir. This is because JDK 1.4 comes with xerces, and Phoenix may object to two versions in the classpath. Distribution ------------ Distribution contains the following: -phoenix-engine.jar The Phoenix kernel -phoenix-loader.jar Phoenix loader Distributions built above JDK1.3 will include the following: -xerces.jar Any SAX2 parser will work. By default Xerces is used. Installation Instructions and Documentation ------------------------------------------- Phoenix is a framework that loads and runs servers. Without a server plugged into it, it doesn't do anything. To run it just execute run.bat or run.sh in the distribution bin folder. See docs/ subdirectory for further documentation. Licensing and legal issues -------------------------- For other legal and licensing issues, please read the included documentation. Thanks for using
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值