在做公司的郵件開發的時候,需要臨時搭建乙個郵件伺服器,進行郵件測試。所以去 www.apache.org 找了 james。james是個開源的郵件伺服器,支援眾多協議。具體內容請參看 www.apache.org。
我這裡做了乙個james的簡單配置,以供以後使用。
使用說明:
1、伺服器配置:
配置:2個地方需要修改
test.com
伺服器配置完成
2、新增使用者
james用telnet進行控制,使用者名稱和密碼是 root/root. help可以檢視所有的操作命令
#telnet localhost 4555
#login id:
#root
#password:
#root
------------ console start ---------------------------------------
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 james is run as a daemon)
quit close connection
------------ console start ---------------------------------------
#adduser test test123
3、配置client。foxmail
test123
pop3: localhost (注意,這裡填寫 localhost)
smtp: localhost (注意,這裡填寫 localhost)
4、測試,通過
telnet localhost 4555
help
adduser test test123
pop3位址配置: localhost
smtp位址配置: localhost
Gitblit伺服器郵件配置
關於gitblit在windows下郵箱配置,網上資料比較少,自己摸索步驟如下,實測有效,另外,如果不了解smtp協議,建議配置之前先去大概了解下,當然沒有任何協議基礎,按照如下說明直接配置也是ok的,只是了解了smtp協議,會對郵箱相關配置的理解較為深刻的 1 需要配置stmp伺服器,依然在def...
ORACLE 配置郵件伺服器
2 在oracle sql developer中執行 必須有begin end 1建立 acl begin dbms network acl admin.create acl acl email.xml description enables network permissions for the ...
Postfix 郵件伺服器的配置
yum install postfix dovecot yum remove sendmail請注意,centos 5中的預設mta 是sendmail。如果您不將預設mta作為字尾,更新字尾可能會導致預設mta恢復為sendmail。接下來,我們需要配置電子郵件伺服器的各個部分。postfix配置...