Link to home
Start Free TrialLog in
Avatar of John Caspary
John Caspary

asked on

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
Avatar of Mohammed Khawaja
Mohammed Khawaja
Flag of Canada image

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.
Avatar of John Caspary
John Caspary

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of John Caspary
John Caspary

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Microsoft helped me out.