備份進出的郵件

因為~公司先前買的是雷電~
使用起來 問題多多
而且 只能備收到的信
外寄的信 備不到 就是備不到
試用了postfix來架MTA
但是~老問題~一樣~
備的到進來的信~備不到出去的信~
之前搞mail備份~
用procmail備份~
或是postfix always_bcc
但是都有問題

sendmail 有辦法做的到~
透過filter外卦的方式
將所有進出的信都備份一份
但是~備起來又不是那麼的友善
應該說 備出來的信 不是那麼的完整
結果 怎麼做咧~
很簡單~
MailScanner+ClamAV+sendmail
用MainScanner呼叫ClamAV來掃毒
掃完毒備~再表給sendmail(同時備份)

寄信的時候~MTU把信傳給sendmail~
sendmail 轉給MainScanner 再經過掃過
備份郵件~再寄出去~

以上動作~
只要去MainScanner官網下載
解壓~安裝~
再設定一行參數~
Archive Mail = /path/to/backup
(改一下 sendmail 開機不啟動 啟動MailScanner~MailScanner會帶sendmaild起來)
打完收工~

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word<-答案

?>