Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In my company I have an SMTP that his shared between production and test environment. I would like to avoid test environment mails to be sent to external users (not domain users so).

Is there a way to create this simply?

Can I create a new smtp relay on a new port for example? and which rules should be added?

Thanks a lot for your help.

share|improve this question
add comment

1 Answer

There are multiple ways to do this in Exchange 2010, the best of which would depend on your setup and details you haven't shared.

Based on the assumption you have relatively few addresses in the test environment, I'd use account-level delivery restrictions to accomplish this. Only give addresses in your "test" environment permission to send to the specific users they need to send mail to, or to email addresses in your domain.

If you have a prohibitively large number of test email addresses, well you should probably do something about that anyway, but you could also use send and receive connectors to make sure emails going outside of your domain don't get relayed. That's (IMHO) more of a pain that just using the delivery restriction options on the accounts that need restricted, but it's another way to go, if you need to.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.