Solved

Require a specific from: domain name before allowing smtp connection

Posted on 2008-10-22
6
191 Views
Last Modified: 2013-11-30
Users connecting to our Exchange 2003 server can relay if the have a valid username/password.  Which I believe is the default setting on an Exchange server.  

Is there a way to restrict smtp connection for relaying for users that doesn't specify the correct from domain name?  

For example.  If our domain was ourdomain.com , the from: part of the user email address needs to contain the @ourdomain.com before allowing to relay ?

Thanks!
0
Comment
Question by:digi_net
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 11

Expert Comment

by:bmatumbura
ID: 22783571
0
 
LVL 11

Expert Comment

by:bmatumbura
ID: 22783580
0
 
LVL 11

Expert Comment

by:bmatumbura
ID: 22783593
This is for Exchange 2000, but should work on 2003 as well:

http://support.microsoft.com/kb/313395/
0
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 

Author Comment

by:digi_net
ID: 22790554
I read thought the links but it doesn't really say how it can have it so that only when it contains a specific "from domain address" will it relay be allowed for that user.  I see the documents describes how it will accept e-mails only from having a specific domain.

Basically what I'm hoping to do is.  Have smtp validate that the from: contains the @ourdomain.com before it allows the user to relay to anywhere on the net.
0
 
LVL 11

Expert Comment

by:bmatumbura
ID: 22793862
Now I get it. It's easy... have a look at the attached screen shot:
disable-relay.JPG
0
 

Accepted Solution

by:
digi_net earned 0 total points
ID: 22801720
I've looked at this, but this doesn't let me relay based on the criteria to check that the email address has a valid from: ourdomain.com before allowing to relay.
0

Featured Post

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
Read this checklist to learn more about the 15 things you should never include in an email signature.
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…
how to add IIS SMTP to handle application/Scanner relays into office 365.

749 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