Results 1 to 7 of 7

Thread: [SOLVED] Whitelisting in V6

  1. #1
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default [SOLVED] Whitelisting in V6

    Quote Originally Posted by brained View Post
    Code:
    #!/bin/bash
    ACC=`/opt/zimbra/bin/zmprov gaa`
    for i in $ACC
    do
    /opt/zimbra/bin/zmmailbox -z -m $i gact | grep -u email: | sort | uniq | sed -e 's/email:/whitelist_from/g' >> /tmp/autowhitelistall.tmp
    done
    sed -i '/clean-wire.net/d' /tmp/autowhitelistall.tmp
    sed -i '/chromedcomputing.com/d' /tmp/autowhitelistall.tmp
    ... Repeat for each domain on the Zimbra server ...
    cat /tmp/autowhitelistall.tmp | sort | uniq > /opt/zimbra/conf/spamassassin/autowhitelistall.cf
    rm -f /tmp/autowhitelistall.tmp
    /opt/zimbra/bin/zmamavisdctl restart
    It's ugly but does the job and it's easy for end users to understand that addressbook = whitelist.
    Brian: Does this work with version 6.0.4

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    What do you wish to achieve ? as the original post was from 2008.

  3. #3
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default

    I'd like users to be able to contribute to a whitelist by adding addresses to their contact list

  4. #4
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You will need to follow Improving Anti-spam system - Zimbra :: Wiki first to enable whitelisting. Have you tried the script ?

  5. #5
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default

    I tried on a test box that was upgraded from 5.0.18 to 6.0.4 without success.

    ERROR: account.NO_SUCH_ACCOUNT (no such account: gact)

    Thought I would ask before I broke it...

  6. #6
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Change
    Code:
    ACC=`/opt/zimbra/bin/zmprov gaa`
    to
    Code:
    ACC=`/opt/zimbra/bin/zmprov -l gaa`

  7. #7
    Join Date
    Jul 2007
    Posts
    6
    Rep Power
    8

    Default

    Works same as on 4.0x versions.

    Thanks!

Similar Threads

  1. IP Address Whitelisting
    By georgelazar in forum Administrators
    Replies: 11
    Last Post: 10-07-2009, 09:00 AM
  2. Whitelisting domain
    By GCamp in forum Administrators
    Replies: 8
    Last Post: 07-05-2009, 12:49 PM
  3. whitelisting mta based restrictions
    By galezer in forum Administrators
    Replies: 5
    Last Post: 03-04-2008, 12:26 PM
  4. UI for whitelisting?
    By jameztcc in forum Installation
    Replies: 1
    Last Post: 05-09-2007, 10:06 PM
  5. Whitelisting
    By techdude550 in forum Administrators
    Replies: 9
    Last Post: 06-14-2006, 02: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
  •