none
Exchange 2010

    Question

  • Hi -

    We have an Exchange 2010 Organization called ABC

    ABC.COM is our internal domain

    our external domain is XYZEXTERNAL.COM

    We have 2 cas/hub and 2 mailbox servers.

    We have one linux SMTP Server running on a VM.

    I need to  forward email for the user:  daemon@xyzexternal.com to the mail server running on the server vm.ABC.com

    How can I Set this up?

    Thank you!

    Monday, December 28, 2015 7:09 PM

Answers

  • Hi,

    Do you want Linux SMTP Server send message through Exchange server?

    If so, we need create a internal relay connector to archive this. When you create a new connector, please remove the default IP range in the remote network settings, then add the IP address of the server you want to allow to relay through the Exchange server.

    Moreover, we can grant Anonymous relay, run below command to archive:

    Get-ReceiveConnector "ReciveConnector" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient" 

    For your reference: https://technet.microsoft.com/en-us/library/jj657467(v=exchg.150).aspx


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Allen Wang
    TechNet Community Support

    Tuesday, December 29, 2015 5:03 AM
    Moderator
  • Hi,

    You can set up an internal relay accepted domain for xyzexternal.com and also set up a send connector for xyzexternal.com which uses the vm.abc.com as the smart host. This means that if there is a mailbox on your Exchange server with an xyzexternal.com email address, emails will be delivered to them but if the email is not found in your organization, i.e. daemon@xyzexternal.com then it will be sent through the send connector for xyzexternal.com to the smart host which is vm.abc.com.

    More information about internal relay accepted domains can be found here: https://technet.microsoft.com/en-us/library/bb124423%28v=exchg.150%29.aspx#BKMK_InternalRelayDomains.

    Create an internal relay accepted domain: https://technet.microsoft.com/en-us/library/jj657737(v=exchg.150).aspx.

    Create a send connector which uses a smart host: https://technet.microsoft.com/EN-US/library/jj673059(v=exchg.160).aspx. Select a send connector type of type of custom (although this is only descriptive).

    Thanks.


    Please mark as an answer if this answers your question

    Mark Gossa

    MCSE 2003, MCITP Enterprise Administrator 2008 R2, MCSA 2012 R2, MCTS Exchange 2010, MCTS SQL 2012, MCTS SharePoint 2007, VCP4, VCP5, CCNA

    Blog: http://markgossa.blogspot.com   LinkedIn:

    Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

    Tuesday, December 29, 2015 9:03 PM

All replies

  • Hi,

    Try creating and Transport Rule and check.

    Creating Transport Rule

    Regards,

    Praveen

    ----------------------------------------------------------------------

    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you Check out my latest blog posts on Exchange 2016 @ Techrid.com

    • Proposed as answer by Praveen Eppili Friday, January 8, 2016 2:02 AM
    Tuesday, December 29, 2015 4:33 AM
  • Hi,

    Do you want Linux SMTP Server send message through Exchange server?

    If so, we need create a internal relay connector to archive this. When you create a new connector, please remove the default IP range in the remote network settings, then add the IP address of the server you want to allow to relay through the Exchange server.

    Moreover, we can grant Anonymous relay, run below command to archive:

    Get-ReceiveConnector "ReciveConnector" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient" 

    For your reference: https://technet.microsoft.com/en-us/library/jj657467(v=exchg.150).aspx


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Allen Wang
    TechNet Community Support

    Tuesday, December 29, 2015 5:03 AM
    Moderator
  • Hi,

    You can set up an internal relay accepted domain for xyzexternal.com and also set up a send connector for xyzexternal.com which uses the vm.abc.com as the smart host. This means that if there is a mailbox on your Exchange server with an xyzexternal.com email address, emails will be delivered to them but if the email is not found in your organization, i.e. daemon@xyzexternal.com then it will be sent through the send connector for xyzexternal.com to the smart host which is vm.abc.com.

    More information about internal relay accepted domains can be found here: https://technet.microsoft.com/en-us/library/bb124423%28v=exchg.150%29.aspx#BKMK_InternalRelayDomains.

    Create an internal relay accepted domain: https://technet.microsoft.com/en-us/library/jj657737(v=exchg.150).aspx.

    Create a send connector which uses a smart host: https://technet.microsoft.com/EN-US/library/jj673059(v=exchg.160).aspx. Select a send connector type of type of custom (although this is only descriptive).

    Thanks.


    Please mark as an answer if this answers your question

    Mark Gossa

    MCSE 2003, MCITP Enterprise Administrator 2008 R2, MCSA 2012 R2, MCTS Exchange 2010, MCTS SQL 2012, MCTS SharePoint 2007, VCP4, VCP5, CCNA

    Blog: http://markgossa.blogspot.com   LinkedIn:

    Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

    Tuesday, December 29, 2015 9:03 PM
  • Mark,

    We have already created internal relay accepted domain for xyzexternal.com.

    Authoritative Domain: E-mail is delivered to a recipient in this Exchange Organizatin.

    This is how we receive emails for our domain.

    Do you want me to create another internal relay accepted domain for xyzexternal.com and choose the following? I don't think if I can create more than one same internal relay accepted domain. This can cause issues for our incoming emails.

    Internal Relay Domain. E-mail is delivered to recipients in this Exchange organization or relayed to an e-mail server outside this Exchange Organization. Use this setting if the domain is shared by this Exchange organization and another messaging system.

    I basically need email sent to daemon@xyzexternal.com  on our Exchange Server routed to the Linux SMTP Server.

    if I need to I can create mailbox for daemon@xyzexternal.com on our Exchange Server

    Friday, January 8, 2016 1:43 AM
  • Allen,

    I do not want Linux SMTP Server send message through Exchange serve

    Friday, January 8, 2016 1:44 AM
  • Mark,

    We have already created internal relay accepted domain for xyzexternal.com.

    Authoritative Domain: E-mail is delivered to a recipient in this Exchange Organizatin.

    This is how we receive emails for our domain.

    Do you want me to create another internal relay accepted domain for xyzexternal.com and choose the following? I don't think if I can create more than one same internal relay accepted domain. This can cause issues for our incoming emails.

    Internal Relay Domain. E-mail is delivered to recipients in this Exchange organization or relayed to an e-mail server outside this Exchange Organization. Use this setting if the domain is shared by this Exchange organization and another messaging system.

    I basically need email sent to daemon@xyzexternal.com  on our Exchange Server routed to the Linux SMTP Server.

    if I need to I can create mailbox for daemon@xyzexternal.com on our Exchange Server

    Friday, January 8, 2016 1:45 AM
  • Hi,

    Sorry for delay.

    For your question, I want confirm below points:
    1. Internal domain name: ABC.com
    2. External Domain name: XYZEXTERNAL.COM

    You can deploy split-brain DNS by create other DNS zone for XYZEXTERNAL.COM, then add accept domain and address policy. For external, we can create MX record for XYZEXTERNAL.COM, as well as certificate.

    For Linux SMTP server, you can create SMTP relay connector so that it can send message through Exchange server. For your reference: http://blogs.technet.com/b/jribeiro/archive/2010/01/12/how-to-anonymously-relay-in-exchange-server-2007-2010.aspx

    However, if have same external domain name for Exchange server and Linux SMTP server, you can try Mark's suggestion.


    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact tnmff@microsoft.com.

    Allen Wang
    TechNet Community Support

    Wednesday, January 13, 2016 3:47 AM
    Moderator