MFP = Multifunctional Printer
TLS = Transport Layer Security
Warning, warning, warning...
The next Multifunctional Device you Purchase could be outdated.
To allow Copiers that can email to work with Microsoft Online Services they must
support TLS (NON WEB BASED).
Why are you here?
You have an MFP
that you want to enable to
Scan to email via Microsoft Office 365
SMTP relay settings for Office 365
To set up an SMTP relay in Office 365, you must have the following:
- A user who has an Exchange Online mailbox
- The SMTP set to port 587
- Transport Layer Security (TLS) encryption enabled
- The mailbox server name
Step 1: Obtain the SMTP server setting
To obtain the SMTP server setting, follow these steps:
- Sign in to Outlook Web App.
- Take one of the following actions:
- In Office 365, click Options, and then click See All Options.
- In Office 365 Preview, click Settings (
), and then click Options.
- Take one of the following actions:
- In Office 365, in the left navigation pane, click Account, click My Account, and then, in the Account Informationarea, click Settings for POP, IMAP, and SMTP access.
- In Office 365 Preview, in the left navigation pane, click Account, and then click Settings for POP and IMAP access.
- Note the SMTP server setting information that's displayed on this page.
Step 2: Set up Internet Information Services (IIS)
To set up Internet Information Services (IIS) so that your LOB programs can use the SMTP relay, follow these steps:
- Create a user who has an Exchange Online mailbox. To do this, use one of the following methods:
- Create the user in Active Directory Domain Services, run directory synchronization, and then activate the user by using an Exchange Online license.
Note The user must not have an on-premises mailbox.
- Create the user by using the Office 365 portal or by using the Microsoft Online Services Module for Windows PowerShell, and then assign the user an Exchange Online license.
- Set up the IIS SMTP relay server. To do this, follow these steps:
- Install IIS on an internal server. During the installation, select the option to install the SMTP components.
- In Internet Information Services (IIS) Manager, expand Default SMTP Virtual Server, and then click Properties.
- Click the Access tab, and then click Relay.
- In the Select which computers may relay through this virtual server area, click Only the list below, and then enter the IP addresses of the on-premises LOB devices and application servers that will relay through the SMTP server.
Warning Make sure that you enter only the IP addresses of the devices and servers that you trust. This setting lets mail that's coming from these sources be relayed to any destination. In effect, this makes the on-premises server that is running IIS an open relay.
- On the Access tab, click Authentication, make sure that the Anonymous access check box is selected, and then click OK.
- Click the Delivery tab, and then, under Smart host, enter the fully qualified domain name (FQDN) of the SMTP server from step 2a.
- On the Delivery tab, click Outbound Connections.
- in the TCP Port box, type 587, and then click OK.
- On the Delivery tab, click Outbound Security, and then take the following actions:
- Click Basic Authentication.
- In the User name box, type the user name of the Office 365 user.
- In the Password box, type the password of the Office 365 user.
- Click to select the TLS encryption check box, and then click OK.
For more information about how to set up SMTP mail in IIS, go to the following Microsoft website:
How to support multiple email addresses
If your LOB applications send mail from email addresses that differ from the Office 365 mailbox that's used for authentication, you have to either use a mail-enabled security group or add proxy addresses to support multiple email addresses.
Note If you don't perform one of the following procedures, the LOB applications will not send mail and will return the following error message:
5.7.1 Client does not have permissions to send as this sender
Method 1: Use a mail-enabled security group
If the LOB applications send mail from email addresses that have mailboxes in Office 365, you can support multiple email addresses for relay by creating a mail-enabled distribution group and then granting it SendAs access. To do this, follow these steps:
- Sign in to the Office 365 portal (https://portal.microsoftonline.com) as an administrator.
- Create a mail-enabled security group that contains all the mailboxes that have the email addresses that you want to relay to Exchange Online. To do this, follow these steps:
- In Office 365, follow the steps at the following Microsoft website:
- In Office 365 Preview, follow these steps:
- Click Admin, and then click Exchange to open the Exchange Admin Center.
- In the left navigation pane, click Recipients, and then click Groups.
- Click New (
), and then click Security group.
- In the Members area, add the mailboxes that will be used to send mail.
- Assign the mail-enabled security group SendAs permissions for the user mailbox that you created earlier in the "Step 1: Set up Internet Information Services (IIS)" section. To do this, follow these steps:
- In Office 365, follow the steps at the following Microsoft website:
- In Office 365 Preview, follow these steps:
- In the left navigation pane of Exchange Admin Center, click Recipients, and then click Mailboxes.
- Double-click the user who you created earlier in the "Step 1: Set up Internet Information Services (IIS)" section, click Mailbox Delegation, and then, in the SendAs area, add the mail-enabled security group.
- Make sure that the SMTP relay works as expected.
Method 2: Add proxy addresses
If the LOB application doesn't have mailboxes in Office 365 that are associated with the email addresses that will be used for relay, the email addresses can be added as a secondary addresses to an existing mailbox. To set up proxy addresses, use one of the following procedures:
- In Office 365, follow the steps at the following Microsoft website:
- In Office 365 Preview, see the "Email Addresses" section of the following Microsoft website:
- In Exchange Online PowerShell, follow the steps at the following Microsoft website:
Note The domain that's associated with the email address must be a domain that was verified and accepted in Exchange Online.
Use Postfix to set up an SMTP in Office 365
Postfix is a third-party mail server that can be used to set up an SMTP relay for Exchange Server and Exchange Online. Currently, only specific versions of Postfix are supported to set up a relay with Exchange Online. You have to use Postfix 2.9 or a later version to set up an SMTP relay with Exchange Online.
For more information, go to the following Postfix website:
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
 |
Post
replied on 2012-Aug-31 3:22 AM
|
How to
Connect to the Microsoft Online Services SMTP Server
Should you need to test
we do have a sandbox account
set up ready to go
The next Multifunctional Device you Purchase could be outdated.
To allow Copiers that can email to work with Microsoft Online Services they must
support TLS (NON WEB BASED).
Microsoft Online Services supports sending Simple Mail Transfer
Protocol (SMTP) e-mail messages. SMTP applications can connect to
Microsoft Online Services SMTP servers and authenticate using Microsoft
Online Services user credentials to send e-mail messages. The connection
requires Transport Layer Security (TLS).
SMTP Relay means transferring the e-mail messages from one server to
another via SMTP. SMTP Relay capability allows organizations to use
Microsoft Exchange Online as an SMTP service for mail originating
outside of the Exchange Online environment, for example SMTP-enabled
applications such as fax servers.
Connect to the Microsoft Online Services SMTP Server
Should you need to test
we do have a sandbox account set up ready to go
|
|