Note: This applies to a Windows 2008 Server running IIS7
DocuShare does not provide credentials when sending email, the solution provided below is a work around to this issue.
Note: After the solution has been performed, the server that you are configuring the solution for will be the mail server that you point DocuShare to. It will then relay the email message to the correct mail server while providing the required credentials. See Solution: How To Specify/Change the SMTP Server DocuShare will use to Send Email
Warning: After completing this solution, we recommend that you verify that the IIS SMTP Server has sufficient security enabled. For example, only allowing DocuShare Server to send mail via the IIS SMTP Server (unless your environment uses the IIS SMTP to send mail for other reasons also). Please refer to the Microsoft website at _http://www.microsoft.com to obtain the most current information. If necessary, contact the vendor directly for additional information.
Note: You must be a Windows Administrator to perform this solution.
1. Install SMTP Server (if not previously installed)
a. Right-click My Computer and select Manage
b. Click Features
c. Click the Add Features link on the right hand side of the screen. The Add Features Wizard window displays.
d. In the Features: list place a check mark in the check box next to SMTP Server
Note: If Internet Information Server already has the SMTP Server installed it will be listed as SMTP Server (installed).
Note: The Internet Information Services (IIS) 7.0 Manager gets installed with the SMTP Server.
e. Click Add Required Role Services then click Next and then click Install
f. Click Close when the installation is finished.
2. Configure SMTP Server to Allow DocuShare to Connect and Relay
a. Open Internet Information Services (IIS) 7.0 Manager
b. Right-click the SMTP Virtual Server and select Properties. The SMTP Virtual Server Properties window displays.
c. Click the Access tab.
d. Click the Connection Tab. The Connection window displays.
e. Verify the settings allow the IP Address of the DocuShare Server to connect to the virtual server.
f. Click the OK button.
g. Under the Relay Restrictions Heading click the Relay button. The Relay Restrictions window displays.
h. Verify that the settings allow the IP Address of the DocuShare Server to relay through the virtual server.
i. Click the OK button.
j. Click the OK button.
3. Allow DocuShare to Send Mail Through IIS SMTP
a. Open Internet Information Services (IIS) 7.0 Manager
b. Right click on Default SMTP Virtual Server and select Properties. The Default SMTP Virtual Server Properties window displays.
c. Click on the Delivery tab
d. Click the Advanced button. The Advanced Delivery window displays.
e. In the Fully-qualified domain Name field the Fully Qualified Domain Name of the Server should be displayed. If you are using a Smart host to handle your Domain Name System (DNS) resolution, type the Smart host's IP address in the Smart Host field.
Note: When entering the Smart Host IP Address enclose the IP Address in square brackets. For example [127.0.0.1]
f. If you are using a Smart Host and you are attempting to do your own DNS, click to select the Attempt direct delivery before sending to smart host check box
g. Click the OK button.
h. Click the Outbound Security button. The Outbound Security window displays.
i. Select Basic Authentication option.
j. Enter the Username and Password credentials.
k. Click the OK button. You will be returned to the Default SMTP Virtual Server Properties window.
l. Click the OK button to save the changes.
Note: When you set relay restrictions, you do not have to stop or restart the service; the settings take effect immediately, even for established connections.
Solution Updated: April 28th, 2014
Solution ID: 628