Results 1 to 8 of 8

Thread: Spamassassin Contacts Whitelist

  1. #1
    Join Date
    Dec 2005
    Posts
    94
    Rep Power
    10

    Default Spamassassin Contacts Whitelist

    On my current qmail/vpopmail/Courier IMAP implementation I have a cron job that looks through the 'Sent Items' folder, extracts valid email addresses, and adds them to a system wide spamassassin whitelist.

    How would one implement such a thing with Zimbra? My initial guess would be a method for spamassassin or postfix to look at the GAL or the emailed contacts for the user (or for all users) but for the how part I need some direction.

    Thanks

  2. #2
    Join Date
    Nov 2005
    Posts
    477
    Rep Power
    10

    Default

    Quote Originally Posted by brained
    On my current qmail/vpopmail/Courier IMAP implementation I have a cron job that looks through the 'Sent Items' folder, extracts valid email addresses, and adds them to a system wide spamassassin whitelist.

    How would one implement such a thing with Zimbra? My initial guess would be a method for spamassassin or postfix to look at the GAL or the emailed contacts for the user (or for all users) but for the how part I need some direction.

    Thanks
    I have a zimlet/admin extension that will do exactly this. It's not working fully quite yet, not quite ready for public release, I plan on releasing it by the end of the month. (you may feel free to hound me if you need that functionality).

    Details:

    The Zimlet allows you to publish individual contacts into a whitelist ("add contact to whitelist, "remove contact from whitelist") and the admin zimlet allows the administrator to remove entries from the global whitelist. That communicates with a server that maintains the whitelist database.

  3. #3
    Join Date
    Dec 2005
    Posts
    94
    Rep Power
    10

    Default

    I'd be happy to do some testing for you, its not an emergency on my part but a definate must have at some point.

    I'm running zcs-4.0.3_GA_406.RHEL4 on Centos 4.4 inside Vmware.

  4. #4
    Join Date
    Jul 2006
    Location
    New York, NY
    Posts
    122
    Rep Power
    10

    Default

    I'd be more than happy to help you test out the zimlet, I'm currently usign zimbra 4.5 and was looking for a zimlet to tryout in the new deployment section, not to mention that control of the whitelist is essential

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

    Default

    I would be very interested to see how you are doing this in a zimlet, as I have a few ideas based around this but do not know where to start in writing one.

  6. #6
    Join Date
    Dec 2005
    Posts
    94
    Rep Power
    10

    Default

    OK, now I'm hounding you.

    Is there anything I can do to help speed development of this zimlet?

  7. #7
    Join Date
    Oct 2005
    Location
    Thatcher, AZ
    Posts
    5,606
    Rep Power
    21

    Default

    I think your better bet is gonna be this bug.
    http://bugzilla.zimbra.com/show_bug.cgi?id=6953

    It's something we're actively working on.

  8. #8
    Join Date
    Dec 2005
    Posts
    94
    Rep Power
    10

    Default Meanwhile

    In the meantime this is working for me:
    Code:
    #!/bin/bash
    ACC=`zmprov gaa`
    for i in $ACC
    do
    zmmailbox -z -m $i gact | grep -u email: | sort | uniq | sed -e 's/email:/whitelist_from/g' >> autowhitelistall.tmp
    done
    cat autowhitelistall.tmp | sort | uniq > autowhitelistall.cf
    rm -f autowhitelistall.tmp
    zmamavisdctl restart
    It's not domain specific but that works better for me anyway.
    Last edited by brained; 03-17-2007 at 10:48 PM.

Similar Threads

  1. Bulk moving of contacts
    By Myrddin in forum Users
    Replies: 0
    Last Post: 08-01-2007, 12:33 PM
  2. Is it just me? (Shared Contacts in Outlook)
    By russgalleywood in forum Administrators
    Replies: 13
    Last Post: 11-16-2006, 09:55 AM
  3. Replies: 2
    Last Post: 07-20-2006, 10:23 PM
  4. Cannot delete Contacts
    By zzzzsg in forum Administrators
    Replies: 5
    Last Post: 05-09-2006, 01:50 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
  •