Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

SMTP Server send only within my domain

I'd like to take my existing SMTP server that is within my network, and limit where it can send emails. I only want emails to go out to addresses that are within my domain.

Currently, anyone with access to the server can send to any email in the world. Moving forward I only want emails to go to user@mydomain.com. All other emails should be ignored.

I'm currently using Windows server 2012 with Microsoft's SMTP module.

Is there a way to set this up with my current solution or is there another product that will cover this?

All help is appreciated.

Thank you,

John Caspary
0
JohnMan777
Asked:
JohnMan777
  • 3
1 Solution
 
Mohammed KhawajaManager - Infrastructure: Information TechnologyCommented:
This is due to the fact that you have allowed the IP ranges to relay.  If you remove the IP addresses from the relay list, it will only relay to local domain only.
0
 
JohnMan777Author Commented:
Unfortunately, I don't have my own exchange server, but instead use Office365.  Because of this, I must allow the traffic to leave the company intranet.

Is there another way to make this work?
0
 
JohnMan777Author Commented:
I figured out a solution. Microsoft helped me set up a rule in Office365 to restrict to internal use only. This was done based on the senders email address.
0
 
JohnMan777Author Commented:
Microsoft helped me out.
0

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now