官方主页:
vi /usr/java/james-2.3.2/apps/james/SAR-INF/config.xml
查找替换所有localhost为你的域名 inbelle.cn
查找替换所有myMailServer为你的域名 inbelle.cn
查找所有autodetect属性修改为false,autodetectIP也修改为false。
注释掉以下四句
配置DNS服务器
8.8.8.8
false
false
50000
也可以在这个网页上修改管理用户密码
启动
/usr/java/james-2.3.2/bin/run.sh
管理
telnet 127.0.0.1 4555
JAMES Remote Administration Tool 2.3.2
Please enter your login and password
Login id:
root
Password:
root
Welcome root. HELP for a list of commands
HELP
Currently implemented commands:
help display this help
listusers display existing accounts
countusers display the number of existing accounts
adduser [username] [password] add a new user
verify [username] verify if specified user exist
deluser [username] delete existing user
setpassword [username] [password] sets a user's password
setalias [user] [alias] locally forwards all email for 'user' to
'alias'
showalias [username] shows a user's current email alias
unsetalias [user] unsets an alias for 'user'
setforwarding [username] [emailaddress] forwards a user's email to another email
address
showforwarding [username] shows a user's current email forwarding
unsetforwarding [username] removes a forward
user [repositoryname] change to another user repository
shutdown kills the current JVM (convenient when J
ames is run as a daemon)
quit close connection
listusers
Existing accounts 0
adduser akin akin
User akin added
listusers
Existing accounts 1
user: akin
阅读(1143) | 评论(0) | 转发(0) |