Groups | Blog | Home
all groups > iis smtp nntp > april 2005 >

iis smtp nntp : Hiding exchange server in header


Billnitro45
4/25/2005 12:00:00 AM
Hello,

Hopefully this will be a quick one. I am wondering how to hide the internal
ip addresses and server name of my internal exchange servers? When I send
email outbound to my external test account and I then check I can see the
route the mail has taken (which is of course helpful) but I don't want the
full server name and internal ip address to be available.

Thanks!

wasonce
4/25/2005 12:00:00 AM
Option Explicit

Implements IEventIsCacheable
Implements ISMTPOnArrival

Private Sub IEventIsCacheable_IsCacheable()
' Only returns S_OK.
End Sub

Public Sub ISMTPOnArrival_OnArrival(ByVal iMsg As CDO.Message, EventStatus
As CdoEventStatus)

Dim Flds As ADODB.Fields



Set Flds = iMsg.Fields

With Flds
.Delete ("urn:schemas:mailheader:received")
.Update
End With

iMsg.DataSource.Save

EventStatus = cdoRunNextSink

End Sub



[quoted text, click to view]

Michael
5/6/2005 1:41:05 PM
What to do with this script?
How to make this working?


"wasonce" schreef:

[quoted text, click to view]
AddThis Social Bookmark Button