Re: exchange server and javamail
Re: exchange server and javamail
- Subject: Re: exchange server and javamail
- From: Þór Sigurðsson <email@hidden>
- Date: Wed, 17 Apr 2013 08:10:28 +0000
- Thread-topic: exchange server and javamail
Step 1: Find out authentication method ( lines starting with "-" are from the system, "*" contains your input ) :
* yourmachine:~ you$ telnet mail.yourdomain.tld 25
- Trying aaa.bbb.ccc.ddd...
- Connected to mail.yourdomain.tld.
- Escape character is '^]'.
- 220 mail.yourdomain.tld Microsoft ESMTP MAIL Service ready at Wed, 17 Apr 2013 08:03:00 +0000
* EHLO
- 250-mail.yourdomain.tld Hello [aaa.bbb.ccc.yyy] <-- your IP address
- 250-SIZE <-- capability
- 250-AUTH NTLM <-- Authentication capability - THIS IS WHAT YOU'RE LOOKING FOR
.
.
.
- 250 XSHADOW
* quit
- 221 2.0.0 Service closing transmission channel
- Connection closed by foreign host
- yourmachine:~ you$
Now.. modify your config to try only those that are enabled.
Remember that if it has "250-STARTTLS" (you configured it for encryption) you must have a certificate on your server with valid credentials, _or_ you if you have a self-signed cert, you must import the CA into your certificate keychain.
/Þór
On 16.4.2013, at 15:36, Theodore Petrosky wrote:
> does anyone have experience with ERJavaMail and exchange server? I can not seem to get my app to talk to the exchange server.
>
> DEBUG SMTP: Attempt to authenticate
> DEBUG SMTP: check mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM
> DEBUG SMTP: mechanism LOGIN not supported by server
> DEBUG SMTP: mechanism PLAIN not supported by server
> DEBUG SMTP: mechanism DIGEST-MD5 not supported by server
> DEBUG SMTP: mechanism NTLM not supported by server
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
________________________________
Fyrirvari á tölvupósti / e-mail disclaimer
http://us.is/fyrirvari
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden