Microsoft Exchange – SMS integration manual

Here we describe how to setup Miscrosoft Exchange server for SMS sending using SMSEagle. It should take you about 5 min to have it up and running.

This tutorial is based on MS Exchange knowledgebase article. It uses Send Connector to forward traffic from MS Exchange to SMSEagle.

SMSEagle Setup

This integration will use Email To SMS plugin (see details: Email To SMS plugin). This plugin is included in each version of SMSEagle device.

  • Enable Email2SMS plugin in SMSEagle web-gui
email to sms 1

Microsoft Exchange server setup

  1. Open the Exchange Management Console on a computer that has the Hub Transport server role.
  2. In the console tree, expand Organization Configuration, select Hub Transport, and then click the Send Connectors tab in the work pane.
  3. In the action pane, click New Send Connector.
     The New SMTP Send Connector wizard starts.
  4. On the Introduction page, type a name for the connector in the Name field.
  5. In the Select the intended use for this connector field, click Custom.
  6. On the Address space page, click Add.
  7. In the SMTP Address Space dialog box, specify the address to which you want to route the mail. To do this, enter the recipient’s domain name under Address space. to For example, enter SMSEAGLE_IP address (or smseagle.yourdomain.com if you use FQDN, see optional settings).
    If it’s applicable, click to select the Include all subdomains check box, click OK, and then click Next.
  8. On the Network Settings page, select Route mail through the following smart hosts, and then click Add.
  9. In the Add smart host dialog box, enter the FQDN of the smart host that you want to use to route mail to the recipient’s domain. For example, to send connector to route mail to the smseagle.yourdomain.com, use the smart host for yourdomain.com.
  10. Click OK.
  11. On the “Configure smart host authentication settings” page, select the method that’s used to authenticate to the smart host. By default, no authentication is used
  12. Click Next.
  13. On the Source Server page, select the Hub transport server that you are working on. To use a different Hub Transport server, click Add, and then select the Hub Transport servers that you want in the Select Hub Transport or Subscribed Edge Transport Server dialog box.
  14. To create the Send connector, click New.

Optional settings

  • Optionally you can use FQDN address. First define the following DNS records for your SMSEagle device:
    Type: MX
    Name: smseagle.yourdomain.com
    Value: smseagle.yourdomain.com
    Type: A
    Name: smseagle.yourdomain.com
    Value: SMSEAGLE_IP

    Second, change Postfix configuration on SMSEagle to work with FQDN address:

    1. Login to console via SSH
    2. Edit file:
      (NPE-9300 family) /mnt/nand-user/postfix/etc/postfix/main.cf
      (NXS-9700 family) /etc/postfix/main.cf
      a) find line: myhostname = localhost.localdomain
      b) comment the line: #myhostname = localhost.localdomain
      c) add line: myhostname = yourdomain.com
    3. reload postfix config with command: postfix reload

     

  • To allow external SMTP -> SMS delivery from the outside world:
    Exchange server has to be configured to allow the SMTP receive service to accept mail for the given domain name.
    You have to add an ‘Accepted Domains’ record for the domain name ‘smseagle.yourdomain.com’ and specified the domain type as ‘External Relay’.

    Please also edit Postfix configuration to accept emails when behind NAT (only if needed):

    1. Login to console via SSH
    2. Edit file:
      (NPE-9300 family) /mnt/nand-user/postfix/etc/postfix/main.cf
      (NXS-9700 family) /etc/postfix/main.cf
      Change line: proxy_interfaces = [your external IP address]
    3. reload postfix config with command: postfix reload

Example Send Connector configuration (based at one of our customer’s configuration)

msexchange