November 29, 2005

Postfix: Hide Private IP Header

發信的 Client 端若在 Mail Server 的內部, Header 會出現 Private IP 的資訊
如: Received: from [192.168.1.77] (host77 [192.168.1.77])
這樣會有資訊洩露的安全性問題
在 header_checks 加上

/^Received:.*\[(192\.168|172\.(1[6-9]|2[0-9]|3[01])|10)\./      IGNORE
/^Received:.*\[127\.0\.0\.1/      IGNORE
就可以隱藏這些資訊

Posted by pank at November 29, 2005 05:28 PM
Comments
Post a comment













Remember personal info?