Configue SMTP servers to send email internal only
We have a few Linux SMTP (sendmail) servers running locally, these servers are configured to relay to our Exchange servers and working properly. How do I configure it so that it can only send an email internally but not externally? I tried using Transport rule, "send to users that are Outside Organization" "and when the From address contains" but it does not seem to work. Thanks, Jonathan F-
February 28th, 2012 8:57pm

Hi Jonathan, Per my knowledge, transport rule will work in your problem, please make sure you have sat right for the rules. Maybe you can use this transport rule to work in your environment: Apply rule to messages Send to users that are Outside the Organization Delete the message without notifiying anyone Except when the From address matches @yourdomain.com Thanks, EvanEvan Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2012 4:48am

Try adding a predicate of "When a header contains text patterns", along with "Sent to users outside the organization". For the header type use "Received" and for the text patterns, use the IP addresses of thos sendmail servers. That should pick up on the Received From: that was added to the message when it was accepted by the receive connector.[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
March 2nd, 2012 7:22am

Hi Jonathan, Per my knowledge, transport rule will work in your problem, please make sure you have sat right for the rules. Maybe you can use this transport rule to work in your environment: Apply rule to messages Send to users that are Outside the Organization Delete the message without notifiying anyone Except when the From address matches @yourdomain.com Thanks, EvanEvan Liu TechNet Community Support
Free Windows Admin Tool Kit Click here and download it now
March 2nd, 2012 12:43pm

Try adding a predicate of "When a header contains text patterns", along with "Sent to users outside the organization". For the header type use "Received" and for the text patterns, use the IP addresses of thos sendmail servers. That should pick up on the Received From: that was added to the message when it was accepted by the receive connector.[string](0..33|%{[char][int](46+("686552495351636652556262185355647068516270555358646562655775 0645570").substring(($_*2),2))})-replace " "
March 2nd, 2012 3:18pm

If you have configured Exchange to allow those servers to relay (ie to send to an external recipient) and now do not want them to do that, then just undo the relaying settings that apply to those servers. By default Exchange does not allow external servers/senders to send email. You do NOT need any kind of relaying settings to allow an external server to send email to recipients on Exchange. If you have Receive Connectors with restrictions for email from the Internet (For example because you are using Postini/Message Labs et al) then just add those internal servers to the list of the IP addresses allowed to send email. Or setup a second Receive Connector in the usual way, then specify the IP addresses. Why complicate matters using transport rules etc, unless there is something you are trying to achieve which you haven't stated in your original question. Simon. Simon Butler, Exchange MVP Blog | Exchange Resources | In the UK? Hire Me.
Free Windows Admin Tool Kit Click here and download it now
March 4th, 2012 10:55am

If you have configured Exchange to allow those servers to relay (ie to send to an external recipient) and now do not want them to do that, then just undo the relaying settings that apply to those servers. By default Exchange does not allow external servers/senders to send email. You do NOT need any kind of relaying settings to allow an external server to send email to recipients on Exchange. If you have Receive Connectors with restrictions for email from the Internet (For example because you are using Postini/Message Labs et al) then just add those internal servers to the list of the IP addresses allowed to send email. Or setup a second Receive Connector in the usual way, then specify the IP addresses. Why complicate matters using transport rules etc, unless there is something you are trying to achieve which you haven't stated in your original question. Simon. Simon Butler, Exchange MVP Blog | Exchange Resources | In the UK? Hire Me.
March 4th, 2012 6:50pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics