Exchange 2007 SMTP & POP3 on SBS 2008 connection problem

I need to use exchange 20007 on a SBS 2008 server tosend and receive email from a command line program. I can send email using      UID  somename and PW password. I can send email using UID somename@mycompany.com    PW password.  

The code I am using will only allow one UID and one password. Is theere any way to get exchnage 2007 on SBS 2008 to use the same authentication for both POP3 and SMTP?

OR a free to cheap windows email server  that will allow the same UID for SMTP and POP3.
LVL 1
jimmylew52Asked:
Who is Participating?
 
DMTechGrooupCommented:
can you edit your SMTP jar file to just hardcode in the SMTP username and password?  Then it will ignore whatever other code you are using.

http://snippets.dzone.com/posts/show/3328
0
 
DMTechGrooupCommented:
Why not use local relay for your network?  Unless I am missing something..

http://www.techrepublic.com/blog/networking/exchange-2007-how-to-allow-relay-exceptions/373
0
 
jimmylew52Author Commented:
Thank You for your input. I am using a relay. The problem is it is requiring a different UID than the POP3 connection. I have no idea why.

 UID  somename and PW password works for POP3.

somename@mycompany.com    PW password.  is required for SMTP connection.

This does not make any sense to me. My relay is on the same IP address as the POP3 connection. The software we are using does not let me setup a different address for the two.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
DMTechGrooupCommented:
If you are relaying for your local network then you shouldn't even need to authenticate with a username and password it should accept anonymous connections.

http://www.messagingtalk.org/how-to-test-smtp-communication-using-telnet 
0
 
jimmylew52Author Commented:
Or software uses the same authentication credentials for POP3 and SMTP. I can get Firebird to send SMTP but when our software tries to send using the UID and password it is rejected. I have to use the somename@mycompany.com format to get it to send.
0
 
DMTechGrooupCommented:
So rereading this, your software to send an email is only using username and password not username@domain.com and password right?

That doesn't even follow RFC for sending email.  Is this a home grown software or a 3rd party?  It at some point has to provide the domain address to send the mail so it should either follow RFC for SMTP auth or is should be able to send anonymous email.

Have you ever had it working before?
0
 
jimmylew52Author Commented:
You are correct. This worked for about two weeks and then stopped working.
0
 
DMTechGrooupCommented:
is this home grown software or 3rd party?  Can you explain more of what you are doing so that maybe alternatives can be found?  Cause at this point I dont see a work around for you.
0
 
jimmylew52Author Commented:
We are using java.mail and I have told the programmers they have to rebuild their program to use different credentials. It may be some time before they can do that. If there is a workaround untill then I need to find it.
0
 
DMTechGrooupCommented:
Seems they could easily just add @domain.com to the username variable.  Pop3 will accept that as well.
0
 
jimmylew52Author Commented:
Whatever they have programmed will only use the same UID and PW for both POP3 and SMTP. That is the real problem. An email client will take the UID and apppend the @mycompany.com and it will work. The present software will not do that.
0
 
DMTechGrooupCommented:
If you can get them to not send Username/Password and just use anonymous SMTP that would work otherwise I have no real suggestions for you.  Sorry.
0
 
jimmylew52Author Commented:
Thank You for your effort. The lack of flexibility in the java.mail program seems too be the real issue.
0
 
jimmylew52Author Commented:
I do not get involved in the programming but I will pass this along to the programmers and see if that can be done.
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.

All Courses

From novice to tech pro — start learning today.