Allowing application servers to relay off Exchange Server 2007



Similar documents
Allowing application servers to relay off Exchange Server 2007

System Center Service Manager

POP3 Connector for Exchange - Configuration

Setup Guide for Exchange Server

Load Balancing Exchange 2007 SP1 Hub Transport Servers using Windows Network Load Balancing Technology

To install the SMTP service:

Application Note 02 Advanced SMTP setup

How to configure Exchange Smart Host

Basic Exchange Setup Guide

Introduction. Application Versions. Installing Virtual SMTP Server. Tech Note 692 Using Virtual SMTP Server for SCADAlarm Notifications

How to Secure a Groove Manager Web Site

Configuration Guide for Exchange 2003, 2007 and 2010

Basic Exchange Setup Guide

Microsoft Exchange 2003

FaxCore Ev5 -To-Fax Setup Guide

To configure Outlook Express for your InfoMetrics address:

Serial Deployment Quick Start Guide

Configuration Task 3: (Optional) As part of configuration, you can deploy rules. For more information, see "Deploy Inbox Rules" below.

escan SBS 2008 Installation Guide

IRMACS Setup. Your IRMACS is available internally by the IMAP protocol. The server settings used are:

How to configure Incoming Enabled Libraries in MOSS2007 RTM using Exchange 2007 in an Active Directory Domain.

Quick Scan Features Setup Guide

Owner of the content within this article is Written by Marc Grote

Windows Password Change Scenarios

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on Mail Tab.

DCOM settings for computer-to-computer communication between OPC servers and OPC clients

RSA Event Source Configuration Guide. Microsoft Exchange Server

Creating a User Profile for Outlook 2013

Installing GFI FAXmaker

Deployment Guide. For the latest version of this document please go to:

How to configure Incoming Enabled Libraries in MOSS2007 RTM using Exchange 2003 in an Active Directory Domain.

Network Configuration Settings

Xerox Multifunction Devices. Network Configuration. Domain 2. Domino Server 2. Notes. MIME to Notes. Port. Domino. Server 1.

ing from The E2 Shop System address Server Name Server Port, Encryption Protocol, Encryption Type, SMTP User ID SMTP Password

Service Overview & Installation Guide

Setting up DCOM for Windows XP. Research

Configuration Guide. Follow the simple steps given in this document when you are going to run Lepide Active Directory Cleaner for the first time.

PineApp Archive-Secure Quick Installation Guide:

Step-by-Step Configuration Instructions

NT Authentication Configuration Guide

1. Please login to the Own Web Now Support Portal ( with your address and a password.

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on. User Information

Setting up SMTP in Talis Decisions

MailEnable Quick Start Guide

Wireless Installation Checklist for Novell GroupWise Environments

Installation & Configuration Guide Version 1.0. TekSMTP Version Installation & Configuration Guide

Intel Entry Storage System SS4200-E Active Directory Implementation and Troubleshooting

Outlook Express. Make Changes in Red: Open up Outlook Express. From the Menu Bar. Tools to Accounts - Click on Mail Tab.

RSA Security Analytics

Setting up your own Computer as an outgoing SMTP Mail Server

Frequently Asked Questions

LearningServer Portal Manager

How to set up a multifunction device or application to send using Office 365

Use the below instructions to configure your wireless settings to connect to the secure wireless network using Microsoft Windows Vista/7.

Installing Policy Patrol on a separate machine

Active Directory Integration

Using WinGate 6 . Concepts, Features, and Configurations.

Sophos for Microsoft SharePoint startup guide

Setting up Your Acusis Address. Microsoft Outlook

qliqdirect Active Directory Guide

Erado Archiving & Setup Instruction Microsoft Exchange 2010 Push Journaling

IIS, FTP Server and Windows

Guardian Digital Secure Mail Suite Quick Start Guide

How To Configure Forefront Threat Management Gateway (Forefront) For An Server

Device Log Export ENGLISH

Versions Addressed: Microsoft Exchange 2003 Document Updated: March 25, 2015 Co nfidential Copyright 2015 Smarsh, Inc. All rights reserved.

DC Agent Troubleshooting

Mail Server Scenarios and Configurations

Configuring Security for SMTP Traffic

Remote Desktop Administration

1. Open Thunderbird. If the Import Wizard window opens, select Don t import anything and click Next and go to step 3.

Table of Contents. Cisco Unable to Access Productivity Services from Services on Cisco IP Phone

Migrating NetHelpDesk

Jive Connects for Microsoft SharePoint: Authentication Scenarios

Introduction. Before you begin. Installing efax from our CD-ROM. Installing efax after downloading from the internet

Lab SBS14.FARM_Hyper-V - Using SharePoint with Outlook and Lync

HOW TO CONFIGURE SQL SERVER REPORTING SERVICES IN ORDER TO DEPLOY REPORTING SERVICES REPORTS FOR DYNAMICS GP

GFI FAXmaker 14.3 for Exchange/Lotus/SMTP. Manual. By GFI Software Ltd

Installing GFI Network Server Monitor

Installing GFI LANguard Network Security Scanner

Envelope (SMTP) Journaling for Microsoft Exchange 2007 and 2010

Installing Kaspersky Security Center 10.0 on Microsoft Windows Server 2012 Core Mode

Using TLS Encryption with Microsoft Outlook 2007

How To - Implement Single Sign On Authentication with Active Directory

Windows Live Mail Setup Guide

Configuration Network Management Card-2

Sage HRMS 2012 Sage Employee Self Service. Technical Installation Guide for Windows Server 2003 and Windows Server 2008

Overview... 1 Requirements Installing Roles and Features Creating SQL Server Database... 9 Setting Security Logins...

Monitoring and Troubleshooting Microsoft Exchange Server 2007 (5051A) Course length: 2 days

A D M I N I S T R A T O R V 1. 0

MAPILab Reports Installation Guide. Document version 3.02

Defining your local domains

BlackBerry Mobile Voice System. Version: 5.3. Administration Guide

Configure SMTP in IIS 7

SonicOS Enhanced 3.2 LDAP Integration with Microsoft Active Directory and Novell edirectory Support

Transcription:

Allowing application servers to relay off Exchange Server 2007 From time to time, you need to allow an application server to relay off of your Exchange server. You might need to do this if you have a SharePoint, a CRM application like Dynamics, or a web site that sends emails to your employees or customers. You might need to do this if you are getting the SMTP error message 550 5.7.1 Unable to relay The top rule is that you want to keep relay restricted as tightly as possible, even on servers that are not connected to the Internet. Usually this is done with authentication and/or restricting by IP address. Exchange 2003 provides the following relay restrictions on the SMTP VS: Here are the equivalent options for how to configure this in Exchange 2007. 1

Allow all computers which successfully authenticate to relay, regardless of the list above Like its predecessor, Exchange 2007 is configured to accept and relay email from hosts that authenticate by default. Both the Default and Client receive connectors are configured this way out of the box. Authenticating is the simplest method to submit messages, and preferred in many cases. The Permissions Group that allows authenticated users to submit and relay is the ExchangeUsers group. The permissions that are granted with this permissions group are: NT AUTHORITY\Authenticated Users {ms-exch-smtp-submit} NT AUTHORITY\Authenticated Users {ms-exch-accept-headers-routing} NT AUTHORITY\Authenticated Users {ms-exch-bypass-anti-spam} NT AUTHORITY\Authenticated Users {ms-exch-smtp-accept-any-recipient} The specific ACL that controls relay is the ms-exch-smtp-accept-any-recipient. Only the list below (specify IP address) This option is for those who cannot authenticate with Exchange. The most common example of this is an application server that needs to be able to relay messages through Exchange. First, start with a new custom receive connector. You can think of receive connectors as protocol listeners. The closest equivalent to Exchange 2003 is an SMTP Virtual Server. You must create a new one because you will want to scope the remote IP Address(es) that you will allow. 2

The next screen you must pay particular attention to is the Remote Network settings. This is where you will specify the IP ranges of servers that will be allowed to submit mail. You definitely want to restrict this range down as much as you can. In this case, I want my two web servers, 192.168.2.55 & 192.168.2.56 to be allowed to relay. 3

The next step is to create the connector, and open the properties. Now you have two options, which I will present. The first option will probably be the most common. Option 1: Make your new scoped connector an Externally Secured connector This option is the most common option, and preferred in most situations where the application that is submitting will be submitting email to your internal users as well as relaying to the outside world. Before you can perform this step, it is required that you enable the Exchange Servers permission group. Once in the properties, go to the Permissions Groups tab and select Exchange servers. Next, continue to the authentication mechanisms page and add the Externally secured mechanism. What this means is that you have complete trust that the previously designated IP addresses will be trusted by your organization. 4

Caveat: If you do not perform these two steps in order, the GUI blocks you from continuing. Do not use this setting lightly. You will be granting several rights including the ability to send on behalf of users in your organization, the ability to ResolveP2 (that is, make it so that the messages appear to be sent from within the organization rather than anonymously), bypass anti-spam, and bypass size limits. The default Externally Secured permissions are as follows: MS Exchange\Externally Secured Servers {ms-exch-smtp-accept-authoritative- Domain} MS Exchange\Externally Secured Servers {ms-exch-bypass-anti-spam} MS Exchange\Externally Secured Servers {ms-exch-bypass-message-size-limit} MS Exchange\Externally Secured Servers {ms-exch-smtp-accept-exch50} MS Exchange\Externally Secured Servers {ms-exch-accept-headers-routing} MS Exchange\Externally Secured Servers {ms-exch-smtp-submit} MS Exchange\Externally Secured Servers {ms-exch-smtp-accept-any-recipient} MS Exchange\Externally Secured Servers {ms-exch-smtp-accept-authentication- Flag} MS Exchange\Externally Secured Servers {ms-exch-smtp-accept-any-sender} Basically you are telling Exchange to ignore internal security checks because you trust these servers. The nice thing about this option is that it is simple and grants the common rights that most people probably want. 5

Option 2: Grant the relay permission to Anonymous on your new scoped connector This option grants the minimum amount of required privileges to the submitting application. Taking the new scoped connector that you created, you have another option. You can simply grant the ms-exch-smtp-accept-any-recipient permission to the anonymous account. Do this by first adding the Anonymous Permissions Group to the connector. This grants the most common permissions to the anonymous account, but it does not grant the relay permission. This step must be done through the Exchange shell: Get-ReceiveConnector CRM Application Add-ADPermission -User NT AUTHORITY\ANONYMOUS LOGON -ExtendedRights ms-exch-smtp-accept- Any-Recipient In addition to being more difficult to complete, this step does not allow the anonymous account to bypass anti-spam, or ResolveP2. Although it is completely different from the Exchange 2003 way of doing things, hopefully you find the new SMTP permissions model to be sensible. 6