由于项目需要发送邮件,公司只有内网,不能上外网,只能自己搭建james邮件服务器,可是在搭建james的时候遇到了问题。
使用的是非root用户,下载完毕后,解压完毕后,到bin目录下, 运行run.sh,报如下的错误:
Using PHOENIX_HOME: /usr/local/coolcao/james-2.3.2
Using PHOENIX_TMPDIR: /usr/local/coolcao/james-2.3.2/temp
Using JAVA_HOME: /usr/local/coolcao/jdk1.7.0_45
Running Phoenix:
Phoenix 4.2
James Mail Server 2.3.2
Remote Manager Service started plain:4555
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "pop3server" failed to pass through the Starting stage. (Reason: java.net.BindException: 权限不够).
...
Caused by: java.net.BindException: 权限不够
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
at java.net.ServerSocket.bind(ServerSocket.java:376)
at java.