Groups | Blog | Home
all groups > iis smtp nntp > august 2004 >

iis smtp nntp : More Authorization Questions


Evan
8/20/2004 6:59:00 AM
This doesn't make much sense to me.... Is it not possible
to set my smtp service up so that it requires
authentication, and yet still be able to receive emails
from the outside world? If it's not possible that really
makes for a hard decision. Do I want to leave my email
server open for anonymous relay and have spammers use my
server freely, or do I want to enforce authentication and
not be able to receive any email from the outside world
because the other email servers don't have authorization?
I tried adding IP ranges to the Relay Restrictions list,
but that didn't do any good. It's as if the SMTP service
is ignoring that list when it decides whether or not to
Joe
8/20/2004 8:38:03 AM
It must be possible - I've had 4 Exchange 2000 servers set
up this way for years.

I seem to remember the problem you are having. I believe
those IP addresses that you are allowing will only take
effect after a reboot. If that doesn't work for you,
email me and I will connect to my server and poke around.


[quoted text, click to view]
Joe
8/20/2004 10:51:54 AM
Authentication: I have all three methods of
authentication turned on.
Connection: All except list below - nothing in list
Relay Restrictions: Only the list below - which has the
IPs; allow all computers which succesfully authenticate to
relay is Checked.

Now I remember the problems I ran into:

All smtp traffic (port 25) was blocked between the allowed
IP's and the email server (someone installed a firewall
and blocked port 25 in order to combat worms and
zombies). This doesn't sound related to your problem -
although you might want to make sure you can telnet to
port 25 on your mail server from inside your network.

The large IP ranges didn't seem to work - although I can't
recall confirming the problem. I replaced the large
ranges with a bunch of small blocks: x.x.x.1
(255.255.255.0) Then I rebooted and then everything
worked properly.

Hope this helps.

Joe

btw- exchange's Queue management might be worth the
switch, but I'm sure you'll need to solve this problem
first.


[quoted text, click to view]


[quoted text, click to view]
Evan
8/20/2004 4:53:36 PM
I am using SMTP Virutal Server for IIS in Windows Server
2003. Something else I should mention is the server is not
in the DMZ. All of the correct ports are forwarded though
(25 and 110). I went to 'Properties' on the Virtual Server
and clicked the 'Access' tab. Then I added the IP ranges
192.168.0.0/255.255.255.0, 10.10.0.0/255.255.255.128, and
127.0.0.1 under the Relay Restrictions option. I've
rebooted the server several times and it has not fixed the
problem :(


[quoted text, click to view]
jeff.nospam NO[at]SPAM zina.com
8/20/2004 5:15:14 PM
On Fri, 20 Aug 2004 06:59:00 -0700, "Evan" <grime@forbiddenninja.com>
[quoted text, click to view]

No. If you want systems to authenticate, then you can't accept mail
from systems that don't authenticate.

[quoted text, click to view]

You're confusing relaying with authenticating. They're not the same
thing.

[quoted text, click to view]

What OS and version of SMTP? I think you may be missing where to set
relay restrictions, but it may be a case of not stopping and
restarting the SMTP services.

Kristofer Gafvert
8/20/2004 6:59:25 PM
You need to understand the difference between Authentication, and Relaying.

So if you use Anonymous Access and Windows Authentication, you make it
possible for other servers to connect to your server, and it is possible for
users to authenticate using a username and password.

If you for relaying set "Allow all computers which successfully...", and
"Only the list below" and leaves the list empty, all users which
successfully authenticate (using a username and password) will be able to
relay (send emails), and no others can send emails using your email server.

--
Regards,
Kristofer Gafvert
http://www.ilopia.com


[quoted text, click to view]

Joe
8/21/2004 2:19:48 PM
The next thing I would try is removing all those IP's and
adding single IP address. Reboot. Then try telneting to
port 25 from that IP address:

From the command prompt:
Telnet x.x.x.x 25
EHLO
QUIT
If that works, try sending a message without the
authentication. If that works, it is the way you are
entering the IP addresses. Also, I'm not sure why you
need the localhost (127.0.0.1) in there.


[quoted text, click to view]
Ken Schaefer
8/23/2004 2:19:30 PM
Evan,

We've been over this in your previous thread. Unless there is something
about your setup that you're not telling us, the configurations posted
previously will work.

Otherwise, can you tell us how you know that spammers are using your mail
server as an open relay?

Thanks

Cheers
Ken

[quoted text, click to view]

AddThis Social Bookmark Button