Well, on the Exchange 2007 server there is a setting under Server Configuration 
– Pop3 and IMAP – IMAP4 – Authentication tab – Logon Method that on my server 
defaulted to “Secure Login. A TLS connection is required for the client to 
authenticate to the server.”  That is probably what your server has too, and 
when I monitor my aremail mailboxes from Outlook Express over IMAP, I have to 
use the SSL required checkboxes and SSL port in Advanced properties for the 
mailbox in Outlook Express in order for it to connect.  I never ran into this 
with the sending mail client because I install Outlook 2007 and use MAPI, which 
uses a domain user for the mailbox, and the ARemail service actually runs under 
that same domain account.  Outlook by default will make an encrypted connection 
to the Exchange server.

The configuration on the Exchange server can also be changed in the dialog that 
I mentioned above to:
“Plain text login (Basic authentication). No TLS connection is required for the 
client to authenticate to the server.” –OR-
“Plain text authentication logon (integrated Windows authentication). No TLS 
connection is required for the client to authenticate to the server.”

It looks like Exchange 2007 IMAP authentication can be set to two different 
plain text methods at the server-level, but your email admins will have to 
approve and perform that task.  I have never had to change anything on the ARS 
side since I have always used MAPI with a mail client and mailbox profile 
installed on the AR server.

Christopher Strauss, Ph.D.
Call Tracking Administration Manager
University of North Texas Computing & IT Center
http://itsm.unt.edu/

From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Mitchell, Sharon N. (MSFC-IS30)[SAIC]
Sent: Tuesday, April 07, 2009 12:16 PM
To: arslist@ARSLIST.ORG
Subject: AUTHENTICATE PLAIN not working with Exchange 2007

We just upgraded our dev server (and email engine) to 7.1 patch 6.  We also 
installed JRE 1.5.0_18.  Now we are changing our incoming email configuration 
(using IMAP with SSL required) to point to our Exchange 2007 server.  It was 
working with Exchange 2003, but now it’s not with Exchange 2007.  Here’s part 
of the debug file:

DEBUG: getProvider() returning 
javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, 
Inc]
DEBUG: mail.imap.fetchsize: 16384
* OK The Microsoft Exchange IMAP4 service is ready.
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN IDLE NAMESPACE 
LITERAL+
A0 OK CAPABILITY completed.
IMAP DEBUG: AUTH: NTLM
IMAP DEBUG: AUTH: GSSAPI
IMAP DEBUG: AUTH: PLAIN
DEBUG: protocolConnect login, host=imap.ndc.nasa.gov, user=ndc\remedydev, 
password=<non-null>
A1 AUTHENTICATE PLAIN
+
bmRjXG1zZmMtcmVtZWR5ZGV2AG5kY1xtc2ZjLXJlbWVkeWRldgAxcTJ3M2U0ciVUXlkmVSpJ
A1 NO AUTHENTICATE failed.

It looks like it’s not working because it uses AUTHENICATE PLAIN and Exchange 
2007 doesn’t accept that (found that on a java sun forum).  It says the work 
around is to disable AUTH PLAIN by using this command:


prop.put("mail.imap.auth.plain.disable", "true");


My question is – where do you put this command?  Is it on the Exchange server 
or the Remedy server?  Remedy support says it should be changed on the Exchange 
server and our email guys say it should be changed on the Remedy server.   If 
Remedy server, exactly where does it go?

Any help would be greatly appreciated.

Thanks,
Sharon

Windows 2003
AR Server/Email Engine 7.1 patch 6
Oracle 10g
Exchange 2007

Reply via email to