Results 1 to 8 of 8

Thread: How to show forwarding address

  1. #1
    dljordaneku is offline Elite Member
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    7

    Default How to show forwarding address

    Part of our spam problem is that when the account gets hacked they changed the forwarding address to something of theirs. Is there a way via CLI to show all accounts that have a forwarding address set up?

    dj

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

    Default

    this is easier than that. log into the admin web interface. on the bottom of th left hand side you'll see a "Searches" area that should have "Inactive accounts (30 days)"

  3. #3
    dljordaneku is offline Elite Member
    Join Date
    Sep 2007
    Location
    Richmond, Ky
    Posts
    281
    Rep Power
    7

    Default

    But part of the problem is that they are logging into the web interface a couple of times a day to send out there junk. It appears that they are using the forward to get any responses that come back. With that being the case then account wouldn't be inactive.

    dj

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

    Default

    oops that reply was actually meant for this thread sorry

  5. #5
    mrklaw is offline Junior Member
    Join Date
    Oct 2007
    Location
    Asheville,NC
    Posts
    6
    Rep Power
    7

    Default ever find a solution

    Did you ever find a solution for this? We're facing the exact same situation right now. It seems that quite a few of our users gave out their usernames.

    Thanks.

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,569
    Rep Power
    57

    Default

    Run a script that will go through all the user accounts and look for:

    Code:
    zmprov ga user@domain.com | grep zimbraPrefMailForwardingAddress
    That should list the ones that have a forwarding address set.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    24

    Default

    Code:
    su - zimbra
    zmprov gaa | while read EMAIL
    do
        zmprov ga ${EMAIL} | awk -vEMAIL=${EMAIL} '/zimbraPrefMailForwardingAddress/ { printf("%s\t%s\n",EMAIL,$0); }'
    done

  8. #8
    acesuares is offline Active Member
    Join Date
    Apr 2009
    Location
    Willemstad, Curacao
    Posts
    39
    Rep Power
    6

    Default

    Quote Originally Posted by uxbod View Post
    Code:
    su - zimbra
    zmprov gaa | while read EMAIL
    do
        zmprov ga ${EMAIL} | awk -vEMAIL=${EMAIL} '/zimbraPrefMailForwardingAddress/ { printf("%s\t%s\n",EMAIL,$0); }'
    done
    This might be a better regex: /zimbra(Pref)*MailForwardingAddress:/
    - if there are multiple forwarding addressesm they will be in zimbraMailForwardingAddress, so we want those too.
    - the : on the end makes sure only what we want is shown, and not things like zimbraMailForwardingAddressMaxTimeOut or something.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. multiple forwarding address
    By MrBryce2000 in forum Installation
    Replies: 2
    Last Post: 07-07-2008, 11:08 AM
  2. More than one forwarding address
    By declan in forum Administrators
    Replies: 2
    Last Post: 11-15-2007, 05:42 PM
  3. how to delete contacts that don't show up in Mac address book
    By macdesign13 in forum CalDAV / CardDAV / iSync
    Replies: 5
    Last Post: 09-26-2007, 08:18 AM
  4. Replies: 4
    Last Post: 09-19-2007, 12:12 AM
  5. Cant delete forwarding address in web admin
    By Dirk in forum Administrators
    Replies: 3
    Last Post: 07-11-2006, 01:42 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
  •