On Thu, Sep 13, 2001 at 10:51:08AM +0200, Bgs himself wrote:
>
> Hi !
>
> In every SMTP header there are few/lots of Received: fields. When qmail
> gets a mail from a local client for relaying, it puts the clients IP in
> this field. This is a small security problem as anyone who gets an email
> will know the LAN IPs. Is there a way to use hostnames instead ?
>
> /etc/hosts _would_ be the simpliest way, but I doubt t can be done
> without much hacking. But what about a local DNS ? This way the recepient
> only sees pc42.company.ln in the Received: field and not 192.168.42.42...
You can do something along the lines of
192.168.:allow,RELAYCLIENT="",TCPREMOTEIP="192.168.0.0",TCPREMOTEHOST="hidden"
This line allows relaying from the whole 192.168.* range, sets the IP
for the received line to 192.168.0.0 and the hostname to 'hidden'.
Greetz, Peter
--
Monopoly http://www.dataloss.nl/monopoly.html