Results 1 to 4 of 4

Thread: imapsync admin proxyauth support on zimbra

  1. #1
    Join Date
    Sep 2006
    Location
    Davis, CA
    Posts
    64
    Rep Power
    9

    Default imapsync admin proxyauth support on zimbra

    I hope I'm asking a stupid question.

    Is the IMAP proxyauth feature enabled by default? I'm trying to migrate from Sun to Zimbra using '--authuser2 admin', but I get this: " BAD parse error: command not implemented". When I use imapsync I get the same result.

    Here's output of an interactive test using telnet:
    * Sun Messaging (works)
    Code:
     telnet imap 143
     Trying x.x.x.x...
     Connected to imap.
     Escape character is '^]'.
     * OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN LANGUAGE STARTTLS XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN STARTTLS] Messaging Multiplexor (Sun Java(tm) System Messaging Server)
     a1 login admin PASS
     a1 OK User logged in
     a2 proxyauth username
     a2 OK [REFERRAL IMAP://mailstore/] Completed
     a3 logout
    * Zimbra (fails)
    Code:
     telnet zimbra 143
     Trying x.x.x.x...
     Connected to zimbra
     Escape character is '^]'.
     * OK IMAP4 ready
     a1 login admin PASS
     a1 OK [CAPABILITY IMAP4rev1 ACL BINARY CATENATE CHILDREN CONDSTORE ENABLE ESEARCH ESORT I18NLEVEL=1 ID IDLE LIST-EXTENDED LIST-STATUS LITERAL+ LOGIN-REFERRALS MULTIAPPEND NAMESPACE QRESYNC QUOTA RIGHTS=ektx SASL-IR SEARCHRES SORT THREAD=ORDEREDSUBJECT UIDPLUS UNSELECT WITHIN XLIST] LOGIN completed
     a2 proxyauth username
     a2 BAD parse error: command not implemented

    The AuthN appears to work fine above, but FWIW my Zimbra users are authenticating to the same remote LDAP server that Sun is. However, the Zimbra admin user is only locally defined.

  2. #2
    Join Date
    Jul 2007
    Location
    US
    Posts
    67
    Rep Power
    8

    Default

    With Zimbra you don't use PROXYAUTH. You're going to want to use SASL and use --authuser2 with imapsync to authenticate as the admin but access another mailbox. See IMAP Authentication against user's mailbox

  3. #3
    Join Date
    Sep 2006
    Location
    Davis, CA
    Posts
    64
    Rep Power
    9

    Default

    Thank you, ppearl!
    This works.
    Code:
    $IMAPSYNC \
        --host1 $HOST_FROM \
            --authmech1 PLAIN \
            --proxyauth1 \
            --authuser1 'admin' \
            --user1 "$USER" \
        --host2 $HOST_TO \
            --authmech2 PLAIN \
            --authuser2 'admin' \
            --user2 "$USER" \
            ...
    Last edited by dlbewley; 04-24-2014 at 11:17 PM. Reason: remote irrelevant arg

  4. #4
    Join Date
    Apr 2014
    Posts
    6
    Rep Power
    1

    Default

    Quote Originally Posted by ppearl View Post
    With Zimbra you don't use PROXYAUTH. You're going to want to use SASL and use --authuser2 with imapsync to authenticate as the admin but access another mailbox. See IMAP Authentication against user's mailbox
    i am a newbie could you please help on how to test authenticate as the admin but access another mailbox

Similar Threads

  1. Zimbra Admin Console browser support
    By bptek in forum Developers
    Replies: 0
    Last Post: 04-22-2010, 10:48 AM
  2. Postfix Admin and Imapsync
    By jcmanous in forum Migration
    Replies: 6
    Last Post: 03-04-2009, 11:47 AM
  3. imapsync admin zimlet ?
    By su_A_ve in forum Zimlets
    Replies: 1
    Last Post: 11-02-2007, 11:23 AM
  4. 4.0 RC1 imapsync with admin???
    By kirme3 in forum Administrators
    Replies: 37
    Last Post: 07-19-2007, 10:52 AM
  5. imapsync works to the zimbra admin user, but not others?
    By justanotheruser in forum Migration
    Replies: 3
    Last Post: 04-05-2007, 11:22 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •