• RSS
  • Twitter
  • FaceBook

Exchange Server Forums

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

2007 Exchange SMTP Relay Problems

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2007] >> Installation >> 2007 Exchange SMTP Relay Problems Page: [1]
Login
Message << Older Topic   Newer Topic >>
2007 Exchange SMTP Relay Problems - 18.Aug.2009 10:18:25 PM   
dakor

 

Posts: 8
Joined: 16.Aug.2009
Status: offline
Hello,

We just migrated from 2003 Exchange to 2007 Exchange last week so I know nothing about 2007 Exchange.  What I am trying to do is we have an accounting server that emailed pay stubs using smtp relay off our old 2003 Exchange server using a user account that is in Active Directory as a login. I need to set this back up on the 2007 Exchange Server but I am getting a NTLM Authentication error that says check user name, password or domain on the accouting server when I try test the email setup even if I use the administrator user name and password. I am able to telnet on port 25 from the Accounting server to the Exchange server so I know they can talk to each other on that port. Do I need to setup a Connector of some kind on the exchange Server and if so how do I make sure it is secure?
Post #: 1
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 8:25:57 AM   
Maurice_Reed

 

Posts: 42
Joined: 15.Feb.2005
From: London
Status: offline
Hi, in my organisation (using E2K7) we have a major application which uses smtp to email to clients plue we have a number of Ricoh photo-copiers that can scan to email. To enable these to work we added an smtp connector the details of which are:-

Under Server Configuration->Hub Transport we added a receive connector(YES a receive connector) and called it Outbound_smtp_relay. For its properties:-
FQDN = internal domain name of Exchange server
network-
Use these local IP addresses = All available IPv4 addresses Port 25
Receive Mail from = just the range of internal IP addresses
Authentication = just TLS checked
Permission groups = only Anonymous checked

This did the trick and relay tests from outside all checked out ok.

< Message edited by Maurice_Reed -- 19.Aug.2009 8:27:27 AM >

(in reply to dakor)
Post #: 2
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 10:35:51 AM   
dakor

 

Posts: 8
Joined: 16.Aug.2009
Status: offline
I setup the connector like you said and it works for internal mail. For external mail I am getting a Esmtp error on the server that is trying to do the relay. By external mail I mean like Hotmail and yahoo.  What do I need to do so external mail will smtp relay?

(in reply to Maurice_Reed)
Post #: 3
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 10:50:49 AM   
Maurice_Reed

 

Posts: 42
Joined: 15.Feb.2005
From: London
Status: offline
Hi, just to clarify, are you wanting to be able to have emails from the accounts system to be sent outside as well as inside the organisation? If so the settings I suggested should work ok, it did for me.

You don't want emails from outside of your domain relaying as they lays you open to becoming a bounce point for spammers and you'd be blacklisted.

(in reply to dakor)
Post #: 4
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 11:08:36 AM   
dakor

 

Posts: 8
Joined: 16.Aug.2009
Status: offline
How it works is we have a user Account in AD that we put in the email relay settings on the Accounting server. So the accoutning server is relaying email off our exchange server fine for email on our own domain with the instructions you gave me but when you try send a pay stub from the accounting server to a user with a hotmail or other external email not on our domain I get that Esmtp error message on the accounting server email relay program. I do not want anyone relaying email off my exchange server from the outside because of the reasons you mentioned I just want it to relay email from our accoutning server to where ever it needs to go.

(in reply to Maurice_Reed)
Post #: 5
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 11:13:06 AM   
Maurice_Reed

 

Posts: 42
Joined: 15.Feb.2005
From: London
Status: offline
Righto, I have the picture now.

I am not sure why you are getting that esmtp error then. As I mentioned we have client booking system and it bypasses Outlook and emails with attachments out through the e2K7 system and the Ricoh copier/scanners can also send out to external addresses. Apart from the main smtp connector for user's outgoings I only have that additional smtp connector mentioned previously.

Possibly someone else may have a clue.


(in reply to dakor)
Post #: 6
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 11:59:32 AM   
dakor

 

Posts: 8
Joined: 16.Aug.2009
Status: offline
Thank you for your help. I am hoping I can either figure it out or someone can point me in the right direction.

(in reply to Maurice_Reed)
Post #: 7
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 3:05:17 PM   
tysonmock

 

Posts: 14
Joined: 20.Mar.2006
Status: offline
We're trying to do the same thing and are having the exact same issue described here by dakor.

This was an upgrade from 2003 (migrated to new x64 server with Exchange 2007 installed)

We began with 2 receive connectors: the default and the client

Added a new custom SMTP connector as indicated by several different articles. One article on techrepublic said to use a unique IP specifically for the custom SMTP connector- http://blogs.techrepublic.com.com/networking/?p=373

This article describes how to add connector and does not specify to use a unique ip- http://msexchangeteam.com/archive/2006/12/28/432013.aspx

We followed the msexchangeteam.com article and that was the same as what dakor did but it didn't work. We are testing by sending a message to an account in the hotmail.com domain.

Any ideas would be greatly appreciated!

< Message edited by tysonmock -- 19.Aug.2009 7:33:51 PM >

(in reply to dakor)
Post #: 8
RE: 2007 Exchange SMTP Relay Problems - 19.Aug.2009 7:00:51 PM   
tysonmock

 

Posts: 14
Joined: 20.Mar.2006
Status: offline
I figured out my problem. Maybe this will help others with the same issue. What I did originally when creating a new SMTP receive connector was specify a receive IP and mask of 10.0.0.0 with a subnet of 255.255.0.0

In the Cisco world this is how you specify a range of addresses but that doesn't translate to the Exchange world here. I changed my receive IP's to a specified range of 10.1.0.1 to 10.7.255.254

This covers all my clients and now it works as it should to both internal and external clients. Oh, I should also mention that I did restart 2 services: MSExchangeIS and MSExchangeTransport

I'm not sure if the service restarts were necessary but this is what I did so I wanted to note it.

If anyone can confirm if this is safe to do that would make me feel better. I'm mostly concerned with becoming an open relay. I know it would be better to only specify individual hosts or a smaller range of hosts rather than every possible IP in my network but we use a client program that generates the email locally so every client in our network with this software installed needs the ability to relay through Exchange.

< Message edited by tysonmock -- 19.Aug.2009 7:37:00 PM >

(in reply to tysonmock)
Post #: 9
RE: 2007 Exchange SMTP Relay Problems - 8.Sep.2009 12:25:46 PM   
bauermj

 

Posts: 2
Joined: 8.Sep.2009
Status: offline
Hello dakor,

To allow email to send out Externally i.e. Yahoo or hotmail you need to set up the following for the your smtp_relay connector

Authentication
TLS > CHECKED
Externally Secured > CHECKED

Permission Groups
Anonymous users > CHECKED
Exchange Servers > CHECKED
Legacy Exchange Servers > CHECKED

That allowed me to relay outside my organizagion.

(in reply to dakor)
Post #: 10
RE: 2007 Exchange SMTP Relay Problems - 8.Sep.2009 12:28:12 PM   
bauermj

 

Posts: 2
Joined: 8.Sep.2009
Status: offline
Authentication
TLS > CHECKED
Externally Secured > CHECKED

Permission Groups
Anonymous users > CHECKED
Exchange Servers > CHECKED
Legacy Exchange Servers > CHECKED

That allowed me to relay outside my organizagion.

(in reply to dakor)
Post #: 11

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2007] >> Installation >> 2007 Exchange SMTP Relay Problems Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Follow TechGenix on Twitter