Wednesday, May 6, 2009

How to Configure Application Server Relay trough Exchange 2007 HTS Server.

You have application server and you wish to let this server relay mails  trough your exchange 2007 server. I will show you how to set this up on exchange server and how to troubleshoot to make sure it is working or now.

  • Exc07.smtp25.org=10.10.10.7 ( exchange HTS server)
  • App01.smtp25.org=10.10.10.131 ( Some application server needs mail relay)

open EMC, drill down under Server Configuration, click on Hub Transport configuration

Exc01_001

  • We will work on the right pane under “receive Connectors”
  • The receive connector installed on HTS server and it is
  • logical gateway through which all messages are received.

Exc01_002

  • Or think it is as  “receive connectors as protocol listeners” similar to  Exchange 03 is an SMTP Virtual Server.

Exc01_003

  • Now lets create one “receive connector” and specify who can relay trough and sent messages out from this connector

On the Receive connectors , make a right click and select

  • New Receive Connector

Exc01_018

  • Give it a name
  • Internal_Relay ( I used this one)
  • Custom ( Click Drop Down and select intended use)
  • Click next

Exc01_018

  • Local Network Settings
  • Specify the FQDN for the connector

Exc01_020

Now we need to specify the application relay server IP address here.

  • First remove the default

image

  • Include the IP Address of relaying server
  • In my scenario this is going to be 10.10.10.131
  • Click next
  • Click new

image

  • and finish

image

  • Now I have the connector in the Receive connector list

image

Now log into application server and open CMD

  • Telnet mail2 25 ( hit enter)
  • Helo ( hit enter)
  • mail from:report@telnet25.org ( Change this to accommodate your environment), Most likely this will be the e-mail address application will try to sent mail out to the exchange server
  • I receive “ 530 5.7.1 Client was not authenticated”

Exc01_010

  • we have still have problems and do little more work to get this going
  • Go back to connector , click on Permissions group, select
  • Anonymous users

Exc01_011

Go back to relaying server we will perform the basic SMTP test from CMD one more time

  • telnet mail2 25
  • helo
  • mail from:Report@Telnet25.org
  • rcpt to:Report@Telnet25.org
  • Data ( hit enter)
  • Subject: Testing Mail Relay ( Hit enter)
  • Testing Mail Relay ( this is Body)
  • press dot + Enter + dot on the keyboard

Exc01_012

  • now we got 250
  • open the mailbox for report@telnet25.org to verify the e-mail in the destination mailbox

Exc01_013

Oz Casey Dedeal

MVP (Exchange)
MCITP (EMA), MCITP (SA)
MCSE 2003, M+, S+, MCDST
Security+, Project +, Server +

Http://smtp25.blogspot.com (Blog)

Https://telnet25.spaces.live.com (Blog)

Https://telnet25.worldpress.com (Blog)

No comments: