文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Qmail Hide IP in Headers (for relay clients) Patch

Qmail Hide IP in Headers (for relay clients) Patch

时间:2006-02-10  来源:snowtty

Here is a link to a patch i have Written, It will hide your Private or Public IP in the email Headers when you are sending Mail as a Relay Client. This is very handy patch for people with Mail Servers that are behind a Firewall / Gateway and where all your local lan clients are not wanted to show there IP in the Mail that they send ... http://windy.zapto.org/qmail/patches/Qmail-Hide-IP-Headers.patch Seems to work flawlessly (Considering i dont know how to Programm in C, Just hack. ;-) Feel free to add changes or make suggestions =) 
No patch at all is necessary. Simply set TCPREMOTEIP and TCPREMOTEHOST to empty strings in qmail-smtpd's environment when the connection comes from one of your internal addresses. For example, if your internal network is 192.168.1.0/24, you could have this in your tcpserver rules file: 192.168.1.:allow,RELAYCLIENT="",TCPREMOTEIP="",TCPREMOTEHOST="" Chris That would be right , i overlooked the obvious .... Thanks ... Although i have found scenarios where a patch rather then TCP Server Rules would be better ... Mainly where a Mail Server only allows Relay After SMTP-Auth and the TCP Server Rule file only has Loopback and Default =) Much Appreciated .... Alex Nee Hard__warE 
相关阅读 更多 +
排行榜 更多 +
龙珠格斗火柴人

龙珠格斗火柴人

飞行射击 下载
荒野恐龙猎手安卓版

荒野恐龙猎手安卓版

飞行射击 下载
超凡坦克英雄

超凡坦克英雄

飞行射击 下载