• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 570
  • Last Modified:

outgoing smtp connector in exchange 2007

hi, when i change the outgoing smtp connector to relay through my service provider instead of my servers dns the mail just goes in a queue. I am using sbs 2008 server with exchange 2007. I change it back and it runs fine. I have done this many times on 2003 servers without any issue. I have tested the connector on outlook in the pop3 settings and it works fine. I am wondering do i have to do anything else in exchange 2007 to enable it other than: going to organization conf, hub transport, send connectors and changing the settings on the network tab on the connect to go through a smart host. I used to be so much simpler on the previous version of exchange!
0
fbs-helpdesk
Asked:
fbs-helpdesk
  • 7
  • 5
  • 2
  • +1
1 Solution
 
Alan HardistyCo-OwnerCommented:
Your ISP probably needs authentication - check with them and find out then set the credentials on the Send Connector> Network Tab> Smart Host Authentication Change Button.
0
 
fbs-helpdeskAuthor Commented:
spoke to ISP and no authentication needed, i guess as much when i did not need to put it in when using outlook
0
 
goraekCommented:
Enter your ISP SMTP mail setting in the smarthost (eg. mail.domain.com).
This will enable you to send emails.
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
Alan HardistyCo-OwnerCommented:
Have you checked that Authentication is NOT set currently on the connector?
Also, are you using an FQDN or an IP Address for the SmartHost?
0
 
ebooyensCommented:
Best way to do this in SBS08 is in SBS Console, Network, Connectivity and at the bottom it has Smart Host for Internet E-mail.

Test mail flow through the smart host by using telnet from the server (may need to add it to the server by going to Server Manager, Add Feature).  So at a command prompt do "telnet smarthostaddress 25"

Here's some steps for using telnet to send an e-mail:

telnet mail.domain.ext 25
You should receive a reply like:
Trying ???.???.???.???...
Connected to mail.domain.ext.
Escape character is '^]'.
220 mail.domain.ext ESMTP Sendmail ?version-number?; ?date+time+gmtoffset?

You will then need to delcare where you are sending the email from:
HELO local.domain.name - dont worry too much about your local domain name although you really should use your exact fully qualified domain name as seen by the outside world the mail server has no choice but to take your word for it as of RFC822-RFC1123.
This should give you:
250 mail.domain.ext Hello local.domain.name [loc.al.i.p], pleased to meet you

Now give your email address:
MAIL FROM: mail@domain.ext
Should yeild:
250 2.1.0 mail@domain.ext... Sender ok
If not, contact ISP and tell them it's not accepting e-mails from your domain

Now give the recipients address:
RCPT TO: mail@otherdomain.ext
Should yeild:
250 2.1.0 mail@otherdomain.ext... Recipient ok
If it doesn't speak to ISP - they're not allowing e-mail relaying from your IP

To start composing the message issue the command DATA

If you want a subject for your email type Subject:-type subject here- then press enter twice (these are needed to conform to RFC 882)

You may now proceed to type the body of your message (e.g. hello mail@otherdomain.ext from mail@domain.ext)

To tell the mail server that you have completed the message enter a single "." on a line on it's own.
The mail server should reply with: 250 2.0.0 ???????? Message accepted for delivery

You can close the connection by issuing the QUIT command.
The mailserver should reply with something like:221 2.0.0 mail.domain.ext closing connection
Connection closed by foreign host.
0
 
fbs-helpdeskAuthor Commented:
authentication is set to none and i have tried the fully qualified domain and and the ip address
0
 
Alan HardistyCo-OwnerCommented:
Okay - what outbound TCP port(s) are you using on the connector?  25 / 587 or something else?
Is your ISP blocking outbound TCP port 25?
0
 
fbs-helpdeskAuthor Commented:
do i have to restart any service after i run this:

Best way to do this in SBS08 is in SBS Console, Network, Connectivity and at the bottom it has Smart Host for Internet E-mail.
0
 
ebooyensCommented:
No, you shouldn't have to restart any service.  Have you tried the telnet commands?  This will tell you if there is a problem on the ISPs end.
0
 
fbs-helpdeskAuthor Commented:
I just installed telnet and all the commands ran through fine
0
 
Alan HardistyCo-OwnerCommented:
Can you please follow the Exchange 2007 section of the following link to make sure you are setting things up properly (which I am sure you are - just want to be sure):
http://www.arrowmail.co.uk/howto/smrthost.aspx 
0
 
fbs-helpdeskAuthor Commented:
I went through the above link, all looks fine. I only have SP1 for exchange on it now. i will install SP3 over the weekend and see if that makes a difference
0
 
goraekCommented:
SP3 has nothing to do with it from an operation point of view. It should work regardless what patches you have - if it is SP3 that will fix it, then organizations with SP1 should upgrade to SP3 too, if ya know what I mean.

This is a configuration and routing issue, you should look into it, though it is recommend to upgrade to the latest SP from an update and security perspective.

You will need to double check your settings again, I suggest the following:

- Send connectors
- Receive connectors
- Accepted Domains
- Port forwarding (Port 25)
- NAT (external to internal)

One misconfiguration in any of the above will fail to perform any mail activities.

NOTE: This works for both Exchange 2007 and 2010 on Server 2008.

Cheers,
Goraek
0
 
fbs-helpdeskAuthor Commented:
sorry for the delay all, the service provide had upgraded it's spam engine and block all mail that had a signature, that what was blocking the mail

thanks again for your help
0
 
Alan HardistyCo-OwnerCommented:
No problems - glad you have the issue resolved.
Don't forget to close the question down accepting your last comment as the answer.
0
 
fbs-helpdeskAuthor Commented:
Help from all contributors resolved thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 7
  • 5
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now