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

Send mail from local mail server to Public mail server

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [Microsoft Exchange 2003] >> Installation >> Send mail from local mail server to Public mail server Page: [1]
Login
Message << Older Topic   Newer Topic >>
Send mail from local mail server to Public mail server - 31.May2008 2:46:15 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi All,

Actaully i have a loacl exchange server and with that i want to send mails to an outer mail server . can anybody please tell me what steps  should follow to do the same.

I know i should enable rely  tried this and also make a SMTP connector but all this i do by hit and trial method . dont have the exact idea what are the steps.
please help me to do the same

Thanx in advance for the help
Vj
Post #: 1
RE: Send mail from local mail server to Public mail server - 2.Jun.2008 12:14:43 PM   
deltan

 

Posts: 1
Joined: 2.Jun.2008
Status: offline
Hi vsharma and ALL,

I guess I'm looking for the same question here. I'm planning to use Exchange Server 2003 for local and Symantec Mail Security for SMTP at DMZ.

Did you find any solution for relaying?

deltan

(in reply to vsharma)
Post #: 2
RE: Send mail from local mail server to Public mail server - 2.Jun.2008 4:19:58 PM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
If you want to send email via another server then you have to use an SMTP connector with it set to use a smart host.

http://www.amset.info/exchange/smtp-connector.asp

Can't answer the question on the Symantec product as I don't use their products - I prefer to use something that works.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to deltan)
Post #: 3
RE: Send mail from local mail server to Public mail server - 5.Jun.2008 1:32:28 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi Simon,

Not got the enough informaion from this.
Actually as i know to send mail to another domain i need to create an SMTP connector
i have done the same but not working for me.DO u think is there anuy additional setting i need to fix. please please reply soon. i have need of it.
Please provide me the steps to send mail to the outer domain from ur local domain.

Waiting for ur reply............

Thanx in Advacne for the help
Vj

(in reply to vsharma)
Post #: 4
RE: Send mail from local mail server to Public mail server - 5.Jun.2008 7:11:25 AM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
Without knowing what error messages you are receiving, it is impossible to answer. The default configuration of the SMTP connector is usually fine, but sometimes it can require other settings to be used.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to vsharma)
Post #: 5
RE: Send mail from local mail server to Public mail server - 5.Jun.2008 7:29:17 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi Simon,

It mean to say if i wanna send mail to outbound server then i only need to Configure SMTP connector only am i right.i go the followinf error

The following recipient(s) could not be reached:

abc@XYZ.com on 6/5/2008 12:15 PM
A configuration error in the e-mail system caused the message to bounce between two servers or to be forwarded between two recipients. Contact your administrator.
<serv01.test.com #5.3.5>

This is the error which a user got after sending mail to another server.What you will say now.

Thanx
Vj

(in reply to vsharma)
Post #: 6
RE: Send mail from local mail server to Public mail server - 5.Jun.2008 7:34:23 AM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
Was that sending to another EXTERNAL email server?
Ensure that you do not have a smart host set on the SMTP virtual server, and if you have a smart host set on the SMTP connector that it is an external server not a local server.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to vsharma)
Post #: 7
RE: Send mail from local mail server to Public mail server - 5.Jun.2008 7:45:08 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi Simon,

I dont have set smart host .i have selected the "use DNS to route each address space..." option. please tell me if i am selecting this option do i need to set anything in the dns. i have already enter the MX record for my domain .

Thanx
vj

(in reply to vsharma)
Post #: 8
RE: Send mail from local mail server to Public mail server - 5.Jun.2008 1:26:08 PM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
The message you are getting is an indication that mail is coming back. However it doesn't tell you where the loop is occurring, whether it is happening inside or outside.

When you created the SMTP connector, did you set the address space as * or a specific domain? The MX records - where have you set those? If in your internal DNS then that is useless. They need to be set by whoever looks after your domain.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to vsharma)
Post #: 9
RE: Send mail from local mail server to Public mail server - 6.Jun.2008 1:03:55 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi Simon,

I have mentioned a particular domain in the Address space not the '*'. and secondly i have already told you this is my local mean to say testing environment and i am using

Vmware with 2003 withe SP1 and Excahnge server.
it has also AD,DNS,RIS,DHCP,IIS .
i have enetred the MX record for my domain in my DNS.

Same time we have a linux person who has configured Sendmail on a test environment and set it to relay and all the mails are working fine and reaching at the destination.(the same where i want to send mail{outbound server})

Any solution

Thanx

(in reply to vsharma)
Post #: 10
RE: Send mail from local mail server to Public mail server - 6.Jun.2008 12:30:20 PM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
If the domain that you have put in the SMTP connector is not * but is the same as the domain that you are using locally and you have put an MX record in to your local dns then you have caused a loop. The server is doing a lookup on the domain and sending it to the MX record that it finds.

An MX record in your local DNS is pointless, as Exchange doesn't use them as part of its operation.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to vsharma)
Post #: 11
RE: Send mail from local mail server to Public mail server - 9.Jun.2008 1:19:33 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi Simon,

               Actually i have created MX record for my local domain and in the address space area i have entered that domain to which i want to send mail through my local mail server.Now please tell me why there is loop.

Thanx

(in reply to vsharma)
Post #: 12
RE: Send mail from local mail server to Public mail server - 9.Jun.2008 8:08:38 AM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
If your WINDOWS domain is example.com and you have put MX records in the DNS for example.com to point back to your Exchange server, AND you have put example.com in the address space of the SMTP connector with it set to use DNS, then you have a loop.

If you have used different domains then you need to look at what is actually happening to the email, from the SMTP logs to see why Exchange is detecting a loop. If the messages are being delivered to the second server and then coming back in then you have to look at the recipient server as the cause of the problem.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to vsharma)
Post #: 13
RE: Send mail from local mail server to Public mail server - 9.Jun.2008 8:15:00 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi Simon,

Actually i have as you say MX record for my domain but in the address space i have entered that domain to which i want to send mail
I cant check recipient server.
I have already told you that i am using lab environment with exchnage ,DNS,AD,RIS,DHCP all on one Vmware machine and with that  virtual machine i want to send mail to internet.

Thanx for the help
Vj

(in reply to vsharma)
Post #: 14
RE: Send mail from local mail server to Public mail server - 9.Jun.2008 1:36:19 PM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
You don't have to keep writing that you are doing x and y. I can read.

If you can't check the recipient server then you are pretty much stuffed. Look at the SMTP logs if the messages are going out and then coming back then the problem is almost certainly with the remote server. It is very difficult to get emails to loop with Exchange.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to vsharma)
Post #: 15
RE: Send mail from local mail server to Public mail server - 11.Jun.2008 2:53:06 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
Hi Simon,

Now i tried with Smart host . prepare a new machine and configure this as a smart host(Form IIS SMTP settings , i am right na).
But still getting the errors

Your message did not reach some or all of the intended recipients.

Subject: tet Sent: 6/11/2008 12:06 PM
The following recipient(s) could not be reached:

s1@outerexchange.com on 6/11/2008 12:13 PM
You do not have permission to send to this recipient. For assistance, contact your system administrator.
<serv01.localexchange.com #5.7.1 smtp;550 5.7.1 Unable to relay for s1@outerexchange.com>


Also check the log file SMTPSVC1  find this
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2008-06-11 06:43:35
#Fields: time c-ip cs-method cs-uri-stem sc-status
06:43:35 X.Y.Z.18 - - 0
06:43:35 X.Y.Z.18 EHLO - 0
06:43:35 X.Y.Z.18 - - 0
06:43:35 X.Y.Z.18 MAIL - 0
06:43:35 X.Y.Z.18 - - 0
06:43:35 X.Y.Z.18 RCPT - 0
06:43:35 X.Y.Z.18 - - 0
06:43:35 X.Y.Z.18 RSET - 0
06:43:35 X.Y.Z.18 - - 0
06:43:35 X.Y.Z.18 QUIT - 0
06:43:35 X.Y.Z.18 - - 0
06:49:15 X.Y.Z.18 - - 0
06:49:15 X.Y.Z.18 EHLO - 0
06:49:15 X.Y.Z.18 - - 0
06:49:15 X.Y.Z.18 QUIT - 0
06:49:15 X.Y.Z.18 - - 0

please help

< Message edited by vsharma -- 11.Jun.2008 3:08:46 AM >

(in reply to vsharma)
Post #: 16
RE: Send mail from local mail server to Public mail server - 11.Jun.2008 10:19:07 AM   
Sembee

 

Posts: 3165
Joined: 17.Jan.2008
From: Somewhere near London, UK
Status: offline
The error means what it says - relaying was denied.
The message was rejected by the machine that you were trying to send the email through, not the Exchange server.
Have you configured relaying on the machine to act as a smart host? It is usually done by authentication or IP address.

Simon.

_____________________________

Simon Butler,
Exchange MVP
Blog: http://www.sembee.co.uk/
Web: http://www.amset.info/
In the UK? Hire me: http://www.amset.co.uk/

(in reply to vsharma)
Post #: 17
RE: Send mail from local mail server to Public mail server - 16.Jun.2008 6:10:31 AM   
vsharma

 

Posts: 16
Joined: 10.Apr.2008
Status: offline
HI Simon,

I have configured rely on other machine and tried it but the error which i had pasted is coming.
Just wanna confirm from ur side is it possible to send mail to internet with local mail server.becoz how the other outbound server will come ro know about my exchange server(mean to say how my ip will be resolved in WAN).
i am little bit confused abt my assumption.
Am i right or wrong?

Thanx
Vj

(in reply to vsharma)
Post #: 18
RE: Send mail from local mail server to Public mail server - 26.Jun.2008 2:05:03 PM   
mdwasim

 

Posts: 242
Joined: 17.Apr.2007
Status: offline
Vj better refer routing groups and connectors documentation from microsoft, I know this section is confusing for you, but get a clear idea of concept behind them then you will get a good hold on what sembee is trying to explain you.

(in reply to vsharma)
Post #: 19

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [Microsoft Exchange 2003] >> Installation >> Send mail from local mail server to Public mail server 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