下载好压缩包,解压,运行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