How to Block IP address range using Exchange 2003

Posted on 2007-07-27
Last Modified: 2008-02-01
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.
Question by:Lyndy333
    LVL 6

    Expert Comment

    Do you have any antispam software
    if yes then block there. because spam mails usually change the ip address once they are blocked
    LVL 104

    Expert Comment

    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.

    LVL 1

    Author Comment

    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.
    LVL 104

    Accepted Solution

    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Promote certifications in your email signature

    Has your company recently won an award or achieved a certification? They'll no doubt want to show it off. Email signature images used to promote certifications & awards can instantly establish credibility with a recipient and provide you with numerous benefits.

    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    Get an idea of what you should include in an email disclaimer with these Top 5 email disclaimer tips.
    To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now