On Thu, May 25, 2000 at 05:07:20PM +0530, Rajkumar S. wrote:
> i have discussed my mail setup in my previous mails with the same subject.
> Now i have my incoming and outgoing mails working. this is the complete
> envelope of a mail send from my mail box to flashmail and reterived using
> fetchmail.
>
> my requiremet is that is there any means where by i can prevent the
> headers containing the name/ip of my internal machine, the precise line i
> want to remove is
>
> Received: from unknown (HELO linux.indsoft.com) (192.168.1.1)
> by 203.129.250.50 with SMTP; 25 May 2000 11:24:16 -0000
>
> linux.indsoft.com is the name we use only internaly. and i do not want
> that to show up on any mail that is being send from here
If you're using tcpserver, try using this in your rules file:
192.168.1.1:allow,TCPREMOTEIP="unknown",TCPREMOTEHOST="unknown",RELAYCLIENT=""
This will manually set TCPREMOTEIP and TCPREMOTEHOST to "unknown" for
connections from 192.168.1.1, and that's what will appear in the headers.
Chris