如何用Apache James把E-mail從內網(內部局域網)發到外網
第一步. 得到DNS, 在windows上可通過ipconfig /all得到, 如下
D:\>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : holen
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Unknown
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地連接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Myson MTD80X Based Fast Ethernet Car
d #3
Physical Address. . . . . . . . . : 00-40-95-00-2E-B3
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Autoconfiguration IP Address. . . : 169.254.224.137
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :
PPP adapter adsl:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 221.216.144.61
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 221.216.144.61
DNS Servers . . . . . . . . . . . : 202.106.0.20
202.106.46.151
NetBIOS over Tcpip. . . . . . . . : Disabled
如上,DNS即202.106.0.20或202.106.46.151
第二步 打開D:\james-2.1.3\apps\james\SAR-INF\config.xml
默認是第344行, 原為
這時, 假如你在James上建立了一個帳號holen@localhost,則可從該帳號發信到holen@263.net.,
如何用apache james把e-mail從內網(內部局域網)發到外網(如263.net,hotmail.com)_郵件服務器
版權申明:本站文章部分自網絡,如有侵權,請聯系:west999com@outlook.com 特別注意:本站所有轉載文章言論不代表本站觀點! 本站所提供的圖片等素材,版權歸原作者所有,如需使用,請與原作者聯系。未經允許不得轉載:IDC資訊中心 » 如何用apache james把e-mail從內網(內部局域網)發到外網(如263.net,hotmail.com)_郵件服務器
相關推薦
-      MySQL常用的實用命令
-      mysql的root密碼修改
-      Linux如何查看JDK的安裝路徑
-      Linux硬盤分區生效命令partprobe
-      Nginx下無法使用中文URL的解決方法
-      怎樣dos命令(cmd命令)查看硬盤和內存/CPU信息
-      CentOS6下Apache開啟Gzip網頁壓縮功能
-      Linux上查看用戶創建日期的幾種方法