Results 1 to 3 of 3

Thread: Closed Accounts and Gal

  1. #1
    Join Date
    Apr 2010
    Rep Power

    Default Closed Accounts and Gal


    Whenever a account gets closed it dosent disapear from gal.. Is this the way its supposed to work ?

    Is there anywhere i can set configuration so that accounts get hidden from gal when they have the closed status ?

    I know i can set "hide from gal" per account options in admin console, but would rather have it automatically, if what im asking is not possible iguess it can be solved with a script.

  2. #2
    Join Date
    Jul 2010
    Rep Power


    Also I have the same problem. When I closed an account it is not disappear from GAL. Are there any way to hide closed account from GAL? When I closed an account, I also check Hide In GAL for that account.

  3. #3
    Join Date
    Jul 2012
    Rep Power


    Hello - sorry for replying to an old thread but this is the top result for "zimbra hide in gal closed accounts" on google but has no answer.

    If you're manually closing accounts in the admin web site, you can just remember to check the box. Unfortunately this didn't happen as we closed lots of accounts and manually going through and fixing each one would take I wrote this bash/sh command to query all unclosed accounts and hide them from GAL in one big batch:

    zmprov sa "zimbraAccountStatus=closed" | while read email; do echo "### Hiding '$email' from GAL: ###"; zmprov ma $email zimbraHideInGal TRUE; done;
    or for just 1 domain (untested, I ran on everything)
    zmprov sa "zimbraAccountStatus=closed" | grep -i '' | while read email; do echo "### Hiding '$email' from GAL: ###"; zmprov ma $email zimbraHideInGal TRUE; done;

Similar Threads

  1. Replies: 0
    Last Post: 12-28-2010, 07:43 AM
  2. [SOLVED] Filtering internal Gal
    By sebmilot in forum Administrators
    Replies: 2
    Last Post: 10-13-2010, 06:11 AM
  3. LDAP Filter issue and GAL
    By G-Money in forum Administrators
    Replies: 2
    Last Post: 06-24-2010, 12:13 PM
  4. External LDAP GAL help (please)
    By dlochart in forum Administrators
    Replies: 24
    Last Post: 07-09-2007, 05:46 PM
  5. GAL Question
    By tbullock in forum Administrators
    Replies: 13
    Last Post: 05-26-2006, 12:24 PM

Posting Permissions

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