james郵件服務器的配置

下載好壓縮包,解壓,運行bin目錄下的run.bat文件。找到apps\james\SAR-INF下的config.xml文件

--------------------

  1. 服務器端配置:

    找到<postmaster>Postmaster@localhost</postmaster>,把localhost修改爲域名。比如xxx.com;

    <servername>localhost</servername>的修改同上;

    <servernames autodetect="true" autodetectIP="true">兩個true改爲false;

    註釋掉<mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor">...</mailet>

    去掉<authRequired>true</authRequired>的註釋

  2. foxmail的配置

    新建賬戶,賬戶的pop3服務器只能是主機的ip,smtp服務器只能是主機的ip

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章