How to Block IP address range using Exchange 2003

Grrrrrrrr.  I am running Exchange Server 2003 on MS Wondows 2003 R2.  I would like to block specified IP addresses from sending (anything) e-mails to my network.  I have tried to accomplish this using the Exchange Server by going to the exchange system manager, global settings, message delivery, properties, connection filtering, deny list, and then entering in an IP address range.  This is not working as I am still being sent e-mails from the addresses on the deny list.  I also use SMSSMTP V4.1.15.47 which is not helping muc...see next question I will post.  Thank you.
Who is Participating?
SembeeConnect With a Mentor Commented:
As the Exchange server is not the first server you are not going to be able to block email on the Exchange server from that IP address. When the email arrives from your gateway machine Exchange just sees the traffic coming from the IP address of the gateway, not the original source.
You will need to block the connection on the gateway server.

Do you have any antispam software
if yes then block there. because spam mails usually change the ip address once they are blocked
Is your Exchange server the first server to receive the email, or does it come in via another server?
I have also seen this where some firewalls get in the way and the Exchange server sees the traffic coming from the firewall, not the actual sending address.
Have you verified the connection in the SMTP logs?

Otherwise the way to block specific IP addresses is via connection filtering with the Connection filter enabled on the SMTP virtual server.

Lyndy333Author Commented:
Hi Simon,
No, the Exchange server is the second server.  The first is the SMTP server, and everything goes through the firewall before that.  On the SMTP server, under config., the mail is set to route to the Exchange Server.  Not all of the messages in the log file show "queued for delivery  When the SMTP server is shut off, the mail does not get through to the Exchange server.  Thank you.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.