MailScanner MRTG Installation

本文只引述其他文章, 並已假定 MailScanner 及其他 mail server 組件已運作正常. 請在網上搜尋如何安裝 mail server.

1. 安裝 mailscanner-mrtg

2. 建立一個檔案夾:
mkdir /var/spool/mailscanner-mrtg

3. 修改fstab
vi /etc/fstab
增加以下兩行(記憶體要夠多!)
none /var/spool/MailScanner/incoming tmpfs defaults 0 0
none /var/spool/mailscanner-mrtg tmpfs defaults 0 0

4. 接著修改及確認/etc/MailScanner/mailscanner-mrtg.conf
MailScanner Work Directory = /var/spool/MailScanner/incoming
Spool Directory = /var/spool/mailscanner-mrtg
Quarantine Directory = /var/spool/MailScanner/quarantine
Use SNMP = no

Please leave your comment on the topic