Configuring sendmail not to reveal internal hostnames

Mike michael at NOMENNESCIO.NET
Wed Jan 19 16:29:41 GMT 2005


    [ The following text is in the "ISO-8859-15" character set. ]
    [ Your display is set for the "US-ASCII" character set.  ]
    [ Some characters may be displayed incorrectly. ]

>From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
>
>As the subject says, this is OT. I apologize.
>
>I'm searching for a means by which I can tell sendmail to expose the
>host names of local computers on our network. The computers are named
>after the users they are associated with so that reveals a lot to folks
>in the outside world. Anyone know of a means to disable this? I just
>want to disable the reverse lookup.

I'm doing something similar. I do not want e-mails destined for the outside world to contain any information of the internal infrastructure. What I do is simple, I remove the "Received:" header from all e-mails coming from the LAN on the e-mail gateway(s). You can use the "Remove These Headers" option to point to a file (make sure it ends with ".rules") which contains something like this:

From:     10.     Received: X-Mozilla-Status: X-Mozilla-Status2:
FromOrTo: default X-Mozilla-Status: X-Mozilla-Status2:

This way all internal routing information is removed for outgoing e-mails. 

>Thanks!
>
>Errol Neal

Mike.

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!




More information about the MailScanner mailing list