下載好壓縮包,解壓,運行bin目錄下的run.bat文件。找到apps\james\SAR-INF下的config.xml文件
--------------------
服務器端配置:
找到<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>的註釋
foxmail的配置
新建賬戶,賬戶的pop3服務器只能是主機的ip,smtp服務器只能是主機的ip