Results 1 to 4 of 4

Thread: [SOLVED] imapproxy asks for sudo password on startup

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Nashville, TN
    Posts
    21
    Rep Power
    10

    Default [SOLVED] imapproxy asks for sudo password on startup

    After a complete disaster recovery this is what I get when starting up.

    Code:
    Starting imapproxy...[sudo] password for zimbra:
    Everything else starts fine. And yes, I did run the fixperms script!

    BTW - The DR was a snap. Just did a fresh install of the same version, recovered /opt/zimbra and ran fixperms.

    Any help appreciated.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    If this is a single server then you don't need imapproxy nor should you have it installed. Remove it with these instructions: http://www.zimbra.com/forums/154763-post10.html
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Jan 2007
    Location
    Minnesota
    Posts
    719
    Rep Power
    9

    Default

    ...but they'll still need sudo to work sans password for other things (postfix queue, zmcontrol).

    What did your "complete disaster recovery" entail? Zimbra needs a small number of critical changes outside /opt/zimbra. One specific thing you're missing is that /etc/sudoers must include something like:

    Code:
    Defaults    !requiretty
    %zimbra   ALL=NOPASSWD:/opt/zimbra/openldap/libexec/slapd
    %zimbra   ALL=NOPASSWD:/opt/zimbra/libexec/zmslapd
    %zimbra   ALL=NOPASSWD:/opt/zimbra/postfix/sbin/postfix, /opt/zimbra/postfix/sbin/postalias, /opt/zimbra/postfix/sbin/qshape.pl, /opt/zimbra/postfix/sbin/postconf,/opt/zimbra/postfix/sbin/postsuper
    %zimbra   ALL=NOPASSWD:/opt/zimbra/libexec/zmqstat,/opt/zimbra/libexec/zmmtastatus
    %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmmailboxdmgr
    %zimbra ALL=NOPASSWD:/opt/zimbra/bin/zmcertmgr

  4. #4
    Join Date
    Oct 2005
    Location
    Nashville, TN
    Posts
    21
    Rep Power
    10

    Default

    imapproxy removed and problem solved.

    Ok, the DR is an embarrasing story. Let's just say it involved an rm -rf, a moment of panic, a quick Ctrl+C followed by a totally dysfunctional system. The good news is I damaged the system but not the Zimbra data.

    The system is a virtual machine so I just booted the most recent clone then mounted the busted system's virtual disk and pulled over /opt/zimbra. Not so luckily the clone was from just before I had performed a 5 to 6 upgrade a few days ago. So I had to redo that whole upgrade first.

    I followed these instructions for the recovery.
    Open Source Edition Backup Procedure - Zimbra :: Wiki

    The system has been running for about a week and other than the imapproxy issue everything else seems to be running fine.

    This is just a box for me and my family running under my desk at home so the stakes aren't that high.

Similar Threads

  1. Replies: 0
    Last Post: 07-06-2009, 04:55 AM
  2. imapproxy asking for password
    By bibo in forum Administrators
    Replies: 4
    Last Post: 07-07-2008, 02:43 PM
  3. Mailbox won't start, asks for password
    By David-LU in forum Administrators
    Replies: 18
    Last Post: 11-29-2007, 03:02 AM
  4. "zmcontrol stop" asks for Password:
    By mrfileio in forum Administrators
    Replies: 3
    Last Post: 10-25-2006, 06:06 PM
  5. mta asking for password on startup
    By rodolico in forum Administrators
    Replies: 7
    Last Post: 01-30-2006, 07:19 AM

Posting Permissions

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