Solved

SMTP Server send only within my domain

Posted on 2014-09-25
4
173 Views
Last Modified: 2014-10-12
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
Comment
Question by:JohnMan777
  • 3
4 Comments
 
LVL 25

Expert Comment

by:Mohammed Khawaja
ID: 40345221
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
 

Author Comment

by:JohnMan777
ID: 40347025
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
 

Accepted Solution

by:
JohnMan777 earned 0 total points
ID: 40366694
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
 

Author Closing Comment

by:JohnMan777
ID: 40375438
Microsoft helped me out.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
When you’re making plans to join the modern business race, you should analyze various details that may affect your results. Nowadays, millions of businesses are trying to grow into established and appreciated professional enterprises.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

828 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