Results 1 to 3 of 3

Thread: [SOLVED] Quick Question about Hidden Forwarders

  1. #1
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    6

    Default [SOLVED] Quick Question about Hidden Forwarders

    Hello, Im relatively new to Zimbra, and wanted to ask a question. Is there any way to list what accounts are being forwarded to an email via hidden forwarders.

    Example: i have emails called A@zimbra.com, B@zimbra.com and so on. All of these accounts are being forwarded to zarrin@zimbra.com through the hidden forwarders. Is there a way to look at a list of all email accounts being forwarded to zarrin@zimbra.com?

    Thanks for any help

  2. #2
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    This should do the trick when ran as the Zimbra user. Takes a bit to run though so I'm sure there is a better way to do this...
    Code:
    #!/bin/bash
    for account in `zmprov -l gaa`; do
        forwardingAccount=`zmprov ga $account | grep "zimbraMailForwardingAddress:" | awk '{print $2}'`
        if [ "$forwardingAccount" = "zarrin@zimbra.com" ]; then
            echo $account;
        fi
    done

  3. #3
    Join Date
    Sep 2009
    Posts
    2
    Rep Power
    6

    Default

    Thanks, we dont have many users, only 70 or so. Just needed a faster way than going into everyones properties via the UI

Similar Threads

  1. Quick question for iPhone peeps
    By bradb21 in forum Zimbra Mobile
    Replies: 4
    Last Post: 01-08-2009, 11:07 AM
  2. quick question :- is zimbra token=encoded()
    By arpitamunjal in forum Developers
    Replies: 4
    Last Post: 10-29-2007, 08:16 AM
  3. Quick upgrade / backup question
    By peter@mxtoolbox.com in forum Administrators
    Replies: 0
    Last Post: 04-24-2007, 09:35 AM
  4. Quick question about server config.
    By jml75 in forum Administrators
    Replies: 0
    Last Post: 11-29-2006, 01:01 PM
  5. Quick question on adding domains
    By agnOstos in forum Installation
    Replies: 2
    Last Post: 10-12-2005, 11:22 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
  •