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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
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
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.