4 Replies Latest reply on Jan 21, 2014 2:42 AM by stepan.husak

    Can't authenticate IMAP to Corporate GMail

    smartd

      We've moved from Exchange to Business Gmail.

       

      I've configured the Gmail account for my AlertCentral poller, enabled IMAP, and tested the password.  All works.

      I tested IMAP with Thunderbird.  Can Login with AlertCentral user.

       

      However, AlertCentral Wizard says bad credentials:

       

      EBUG: setDebug: JavaMail version 1.4.5

      DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc]

      DEBUG: mail.imap.partialfetch: false

      DEBUG: mail.imap.statuscachetimeout: 1000

      DEBUG: mail.imap.appendbuffersize: -1

      DEBUG: mail.imap.minidletime: 10

      DEBUG: trying to connect to host "imap.googlemail.com", port 993, isSSL true

      * OK Gimap ready for requests from 205.235.115.31 z27if6466148yhc.233

      A0 CAPABILITY

      * CAPABILITY IMAP4rev1 UNSELECT IDLE NAMESPACE QUOTA ID XLIST CHILDREN X-GM-EXT-1 XYZZY SASL-IR AUTH=XOAUTH AUTH=XOAUTH2 AUTH=PLAIN AUTH=PLAIN-CLIENTTOKEN

      A0 OK Thats all she wrote! z27if6466148yhc.233

      DEBUG IMAP: AUTH: XOAUTH

      DEBUG IMAP: AUTH: XOAUTH2

      DEBUG IMAP: AUTH: PLAIN

      DEBUG IMAP: AUTH: PLAIN-CLIENTTOKEN

      DEBUG: protocolConnect login, host=imap.googlemail.com, user=alertcentral@vmcmail.com, password=<non-null>

      DEBUG IMAP: AUTHENTICATE PLAIN command trace suppressed

      DEBUG IMAP: AUTHENTICATE PLAIN command result: A1 NO [AUTHENTICATIONFAILED] Invalid credentials (Failure)

       

      All config is the same as the Thunderbird.  Checked the password many times.   Don't know why it can't connect.

      Suggestions?