世界最頂級郵件服務器組合Linux + PMTA + OEMPRO PowerMTA 安裝
PMTA + OEMPRO 這個是發送的組合 PMTA提供的SMTP,OEMPRO是訂閱管理以及郵件的過濾等
SPF, DKIM, Sender-ID, DNS, rDNS 這些各自有分工, 分別在DNS解析和聯系主機商進行解析。
pmta+iem是世界頂級的郵件服務器,每天單台服務器可投遞百萬級郵件,下面給大家介紹安裝步驟
1.注冊域名和購買服務器
2.向服務器上傳pmta+iem一鍵安裝包
3.啟動一鍵安裝包,自動安裝pmta+iem
4.設置域名A記錄,SPF以及DKIM記錄
5.測試郵件的發送得分
6.通過測試,開始群發
------------------------------------
PowerMTA 安裝包中有以下幾個文件:
PowerMTA-3.5r16-201012281936.i586.rpm
PowerMTA-3.5r16-201012281926.x86_64.rpm
powermta_3.5r16-201012281937_i386.deb
pmtad_linux64
pmtad_linux32
license.linux64
license.linux32
安裝步驟
1. 添加用戶組
groupadd pmta
2. 安裝PowerMTA (以64位 Linux 服務器為例)
rpm -Uvh PowerMTA-3.5r16-201012281926.x86_64.rpm
執行完成后,顯示下面提示信息:
PowerMTA has been installed. Please review the configuration
(in /etc/pmta/config) to ensure it fits your needs.
The PowerMTA User's Guide is available on file:/usr/share/doc/pmta/UsersGuide.pdf.
*** WARNING ***
The SMTP TCP port is already in use by other software on this
system. Installation will continue, but in order to be able to
start up PowerMTA you will need to stop the other software
or reconfigure PowerMTA to use an alternative port. See the
manual section about startup problems for more information.
*** WARNING ***
Thank you for choosing PowerMTA.
This software requires a license to run. To obtain a license key,
please contact Port25 at <sales@port25.com>or call +1.410.750.7687
during office hours, U.S. Eastern Time.
If you already received a license key from Port25, please save it
as /etc/pmta/license before starting PowerMTA.
表示執行成功了。
3. 復制許可文件 license 和執行文件 pmtad
cp license.linux64 /etc/pmta/license
cp pmtad_linux64 /usr/sbin/pmtad
4. 啟動 pmta
/etc/rc.d/init.d/pmta start 或者 service pmta start
停止 pmta
/etc/rc.d/init.d/pmta stop 或者 service pmta stop
如果啟動失敗,可以用 –debug 參數檢查。
/usr/sbin/pmtad –debug
5. 修改 pmta 的配置文件,允許通過瀏覽器遠程查看、修改配置
vi /etc/pmta/config
找到 http-access 這個參數,然后添加一條:
http-access 21.34.56.78 admin
其中 21.34.56.78 是你自己的IP地址。
重新啟動 pmta
service pmta start
這樣就可以通過:http://mpta.mydomain.com:8080/editConfig 查看配置文件了。
說明: 通過瀏覽器修改配置文件不需要重啟 pmta。
6. PowerMTA 的日志文件位於 /var/log/pmta/log
安裝出現問題,請通過日志文件來了解是什么原因引起的。
7. 關於連接限制的說明
Linux 系統默認的連接數是1024,當pmta連接數過多的時候,就會受到很多的限制,所以要把連接數調大。
查看當前的連接數:
ulimit -n
修改方法如下:
vi /etc/security/limits.conf
在文件最后面添加:
* soft nofile 65535
* hard nofile 65535
