all groups > iis smtp nntp > march 2005 >
You're in the

iis smtp nntp

group:

Allowing relaying, but not opening a hole


Allowing relaying, but not opening a hole Drew
3/16/2005 4:28:49 PM
iis smtp nntp:
It seems to me that in order to send email using ASP that you have to have a
COM to do it. This requires that you enable relaying, but that opens up a
hole. How can I get this accomplished without getting hacked? I have
ASPEmail installed (CDO was giving me problems), and I have to enable
relaying to send mail. Is this just a huge paradox? If not, can you please
let me know how to allow relaying, but not be vulnerable.

Thanks,
Drew Laing

Re: Allowing relaying, but not opening a hole Drew
3/17/2005 12:49:56 PM
And I lock this down on IIS or Exchange? Just checking, I am a programmer,
not so much administrator!

Thanks,
Drew

[quoted text, click to view]

Re: Allowing relaying, but not opening a hole Jason Brown [MSFT]
3/17/2005 10:47:48 PM
Personally, I lock down the 'connection control' section so that only
127.0.0.1 can connect at all. You can lock this down a few ways, but this is
the simplest, IMO. However it doesn't protect against malware running on the
local machine, which is a slight possibility in some configurations.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

Re: Allowing relaying, but not opening a hole jeff.nospam NO[at]SPAM zina.com
3/18/2005 3:45:11 AM
On Wed, 16 Mar 2005 16:28:49 -0500, "Drew"
[quoted text, click to view]

If you need to relay, it's not due to any ASP requirement. The
components, and CDO, send to a SMTP server. How that SMTP server
reaches the destination is irrelevant.

If the SMTP needs to relay, you lock it down by specifying systems to
relay for. An IP range, a specific system, whatever. You can also
force a login to a valid account.

Re: Allowing relaying, but not opening a hole Drew
3/18/2005 8:20:42 AM
I have IIS running on a Windows 2000 Server and Exchange 5.5 running on a
newly upgraded (note: upgraded, not fresh install which would have probably
been better) Windows 2000 Server.

Thanks,
Drew

[quoted text, click to view]

Re: Allowing relaying, but not opening a hole Jason Brown [MSFT]
3/18/2005 10:21:21 AM
Do you have exchange running on the same machine, and what version?

I think in Exchange 2k3 boxes you'd administer it from the 'protocols'
section of the exchange management tool. To be on the safe side, check in
both locations, IIS SM and Exchange SM.


--
Jason Brown
Microsoft GTSC, IIS

This posting is provided "AS IS" with no warranties, and confers no rights.

[quoted text, click to view]

AddThis Social Bookmark Button