exchangefreaks.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can't send mail through secure smarthost on 2003

 
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Admin
Author Message
Jordan



Joined: 27 Aug 2007
Posts: 11

PostPosted: Wed Feb 27, 2008 8:49 pm    Post subject: Can't send mail through secure smarthost on 2003 Reply with quote

I want to configure my Exchange 2003 server to use my ISP's SMTP server as a
smart host. They require a username and password to send SMTP mail and this
is giving me a problem. Here is what I did to setup the smart host and
username password.

Expanded Routing Groups-First Routing Group - Connectors
Right clicked on Internet Mail Connector
Chose Properties
On General Tab I selected "Forwar all mail through...."
Filled in "mail.myispserver.com"
Confirmed that the local server's default SMTP was in the bridgeheads
On the "Advanced Tab" I clicked the Outbound Security button
Changed from Anonymous to Basic Authentication
Clicked Modify
For Username and password I filled in
"admin@myserver.com"
"mypassword"

After doing this all the mail just sits in the queue retrying. When I turn
off the smart host setup the mail goes through fine. What I thought I would
do to make sure my username and password are correct was to telnet in to the
server. Below is the session and it appears the username and password are
correct and that I can send mail.


TELNET Session -----

220 mail.myispserver.com [ConcentricHost ESMTP Relay 2/2.70] ready
ehlo myserver.com
250-mail.myispserver.com
250-PIPELINING
250-SIZE 20971520
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250 8BITMIME
auth login
334 VXNlcm5hbWU6
{admin@myserver.com in B64}
334 UGFzc3dvcmQ6
{My Password B64}
235 2.0.0 Authentication successful
mail from: admin@myserver.com
250 2.1.0 Ok
rcpt to: someaccount@comcast.net
250 2.1.5 Ok
data
354 End data with .
test.
..
250 2.0.0 Ok: queued as 75D272AC6


Now finally I did another test just as above and used the same login info
and rcpt to info, but I change the mail from info to another user on my mail
server and I was rejected. I thought that if the login name and password
were fine it would not matter what the mail from name is, but it looks like
it does.

Archived from group: microsoft>public>exchange>admin
Back to top
View user's profile Send private message
Jamestechman



Joined: 05 Aug 2007
Posts: 200

PostPosted: Wed Feb 27, 2008 6:18 pm    Post subject: Re: Can't send mail through secure smarthost on 2003 Reply with quote

This sounds like a setting on the ISPs end. Did you confirm with them
that you are relaying all your users e-mail through your Exchange
server and not your users directly authenticating and relaying to
their SMTP server?



James Chong (MVP)
MCITP | EMA; MCSE | M+, S+, Security+
msexchangetips.blogspot.com



On Feb 27, 3:49 pm, "Jordan" wrote:
> I want to configure my Exchange 2003 server to use my ISP's SMTP server as a
> smart host.  They require a username and password to send SMTP mail and this
> is giving me a problem.  Here is what I did to setup the smart host and
> username password.
>
> Expanded Routing Groups-First Routing Group - Connectors
> Right clicked on Internet Mail Connector
> Chose Properties
> On General Tab I selected "Forwar all mail through...."
> Filled in "mail.myispserver.com"
> Confirmed that the local server's default SMTP was in the bridgeheads
> On the "Advanced Tab" I clicked the Outbound Security button
> Changed from Anonymous to Basic Authentication
> Clicked Modify
> For Username and password I filled in
> "ad...@myserver.com"
> "mypassword"
>
> After doing this all the mail just sits in the queue retrying.  When I turn
> off the smart host setup the mail goes through fine.  What I thought I would
> do to make sure my username and password are correct was to telnet in to the
> server.  Below is the session and it appears the username and password are
> correct and that I can send mail.
>
> TELNET Session -----
>
> 220 mail.myispserver.com [ConcentricHost ESMTP Relay 2/2.70] ready
> ehlo myserver.com
> 250-mail.myispserver.com
> 250-PIPELINING
> 250-SIZE 20971520
> 250-STARTTLS
> 250-AUTH PLAIN LOGIN
> 250-AUTH=PLAIN LOGIN
> 250-ENHANCEDSTATUSCODES
> 250 8BITMIME
> auth login
> 334 VXNlcm5hbWU6
> {ad...@myserver.com in B64}
> 334 UGFzc3dvcmQ6
> {My Password B64}
> 235 2.0.0 Authentication successful
> mail from: ad...@myserver.com
> 250 2.1.0 Ok
> rcpt to: someacco...@comcast.net
> 250 2.1.5 Ok
> data
> 354 End data with .
> test.
> .
> 250 2.0.0 Ok: queued as 75D272AC6
>
> Now finally I did another test just as above and used the same login info
> and rcpt to info, but I change the mail from info to another user on my mail
> server and I was rejected.  I thought that if the login name and password
> were fine it would not matter what the mail from name is, but it looks like
> it does.
Back to top
View user's profile Send private message
Rich Matheisen [MVP]



Joined: 05 Aug 2007
Posts: 797

PostPosted: Thu Feb 28, 2008 2:44 am    Post subject: Re: Can't send mail through secure smarthost on 2003 Reply with quote

"Jordan" wrote:

>I want to configure my Exchange 2003 server to use my ISP's SMTP server as a
>smart host. They require a username and password to send SMTP mail and this
>is giving me a problem. Here is what I did to setup the smart host and
>username password.

[ snip ]

>Now finally I did another test just as above and used the same login info
>and rcpt to info, but I change the mail from info to another user on my mail
>server and I was rejected. I thought that if the login name and password
>were fine it would not matter what the mail from name is, but it looks like
>it does.

Talk to your ISP. You're trying to use the SMTP server as a relay for
your server while the ISP is expecting only individual users (probably
POP3/IMAP) to use the relay. The ISP is validating that the person
that authenticated is also the one that's sending the email.

--
Rich Matheisen
MCSE+I, Exchange MVP
MS Exchange FAQ at http://www.swinc.com/resource/exch_faq.htm
Don't send mail to this address mailto:h.pott@getronics.com
Or to these, either: mailto:h.pott@pinkroccade.com mailto:melvin.mcphucknuckle@getronics.com mailto:melvin.mcphucknuckle@pinkroccade.com

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
How to force ALL mail thru smarthost / separate sender/recip Hi, this is a nasty hack request: An SMTP smarthost for example.com is running an From here an mail can be delivered to two systems: unix Mailbox and/or Exch.2003. This is going to stay here. Exchange lives as Some user

Exchange 2003 POP SSL Secure Password Authentication I'm trying to set up reasonably secure POP access for a client that absolutely needs it. I'm running Exchange 2003. I'm testing with Outlook Express 6 on my internal network so no firewall issues are present. The final client is Mac Entourage with what is

SMTP smarthost We're running E2k3 SP2 with a bridgehead server configured to smarthost to a Unix mailer running Postfix. The Postfix people have configured it so that it will not queue messages for unknown domains (i.e. it returns to Exchange a temp

Change to SmartHost Failed Dear guru, We have configured in the back-end using "DNS to route to each address space on this connector" and add two front-end in the local bridgehead under the Routing Groups -> Connectors. Now, we would like to route our outgoing emails to two the ema

smtp smarthost on edge I am trying to forward email from edge to smtp smarthost but gives me an error saying that this cannot be configured on the edge any ideas?
Post new topic   Reply to topic    exchangefreaks.com Forum Index -> MS Exchange Admin All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group