Results 1 to 2 of 2

Thread: Remove addresses from Emailed Contacts

  1. #1
    leog21 is offline Special Member
    Join Date
    Sep 2007
    Posts
    123
    Rep Power
    7

    Question Remove addresses from Emailed Contacts

    When a user leaves, we remove their account from Zimbra. However, there is a copy of their contact in everyone's "emailed contacts" address book if they have ever sent them an email. Is there a way to globaly remove these from everyone's Emailed Contacts so that when active users are typing in the address bar, it does not autocomplete with the terminated addresses?

  2. #2
    bdial's Avatar
    bdial is offline Moderator
    Join Date
    Jul 2007
    Location
    Baltimore
    Posts
    1,649
    Rep Power
    10

    Default

    Not knowing if theres an easier way I can suggest one way that would require a bit of scripting, the logic being

    first get all the accounts with

    zmprov gaa
    Then loop through the account list running the command

    zmmailbox -z -m <account> gact -f "/Emailed Contacts"
    That will return all the e-mailed contacts. You'd then need to loop through teh results and get the Id of the contact. I'm pretty sure this Id will be different for each user which is why you can't just run a delete on that id for every user in the loop. Once you have the id then you can

    zmmailbox -z -m <account> dct <contact id

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Not Able to Add Contacts or Import or Export Email Addresses
    By pdbowers in forum General Questions
    Replies: 4
    Last Post: 04-03-2008, 09:04 PM
  2. Email -> To -> Select Addresses -> Contacts
    By Mike Scholes in forum Users
    Replies: 4
    Last Post: 01-14-2008, 03:13 AM
  3. Importing contacts, no email addresses just names
    By sunshineknox in forum Administrators
    Replies: 4
    Last Post: 03-31-2007, 09:49 PM
  4. Replies: 3
    Last Post: 10-26-2006, 01:57 PM
  5. vbscript to convert Thunderbird contacts
    By zzzzsg in forum Administrators
    Replies: 0
    Last Post: 05-04-2006, 02:00 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
  •