Solved

Only allow incoming emails from specific IP range

Posted on 2009-07-13
5
432 Views
Last Modified: 2012-05-07
I've recently implemented a hosted spam & virus filtering solution.  My MX record directs all email through this filter which then forwards the email to my exchange server.  I've noticed that some email gets through the filter by somehow sending the mail directly through to my IP address and bypassing the filter.  I was advised by their tech support to restrict all incoming email so that only mail coming from their two IP ranges would be accepted.  How do I configure this in my exchange server?

I am running exchange 2k3 on windows 2k3.
0
Comment
Question by:jer007
  • 3
  • 2
5 Comments
 
LVL 76

Accepted Solution

by:
Alan Hardisty earned 50 total points
Comment Utility
Setup connection control on your default SMTP Virtual Server.
Open up Exchange System Manager, Expand Servers, Expand Your Server, Expand Protocosl, Expand SMTP.
Right-click on the default SMTP virtual server and choose properties.  Click on the Access tab and then on the Connection and then select Only the list below and add the IP's you want to allow.
0
 

Author Comment

by:jer007
Comment Utility
Is there a way to add a range?  There are two sperate ranges with a total of 24 IP addresses each.  If possible, I'd rather not enter each one individually.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
Comment Utility
You can add single addresses, a range of addresses, or by domain.
0
 

Author Comment

by:jer007
Comment Utility
I'm not seeing how to enter a range.  There is the option of Single address, Group of computers which allows the subnet address & subnet mask, or domain.

I only have the address range.  It is xxx.xxx.xxx.0 - xxx.xxx.xxx.24.  Do I enter it that way in the Subnet address/mask fields?  I wasn't given any sort of subnet mask.
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 50 total points
Comment Utility
Group of computers is the option to add a range but with the addresses you have, there is no easy way to add them as a group as there is no subnet mask that covers 0-24.
You could add xxx.xxx.xxx.0 with a subnet mask of 255.255.255.240 which covers from 0-15, but you would then have to add 16 - 24 manually.
It might be easier to just add them all one by one - a little boring, but then you can remove them one by one later if neede, which would be much easier.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Exchange 2013 Message Loop 7 29
microsoft exchange 2010 3 32
exchange, virtualization 1 23
Circular Logging 2 23
Check out this infographic on what you need to make a good email signature that will work perfectly for your organization.
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
how to add IIS SMTP to handle application/Scanner relays into office 365.

763 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