Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-15-2006, 02:57 PM
Loyal Member
 
Posts: 94
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
__________________
Brian Harden
www.chromedcomputing.com
Reply With Quote
  #2 (permalink)  
Old 11-16-2006, 02:38 PM
Zimlet Guru & Moderator
 
Posts: 467
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.
Reply With Quote
  #3 (permalink)  
Old 11-17-2006, 05:07 PM
Loyal Member
 
Posts: 94
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.
__________________
Brian Harden
www.chromedcomputing.com
Reply With Quote
  #4 (permalink)  
Old 11-21-2006, 11:59 AM
Special Member
 
Posts: 121
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
Reply With Quote
  #5 (permalink)  
Old 11-28-2006, 02:54 AM
Moderator
 
Posts: 7,911
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.
Reply With Quote
  #6 (permalink)  
Old 01-30-2007, 10:06 AM
Loyal Member
 
Posts: 94
Default

OK, now I'm hounding you.

Is there anything I can do to help speed development of this zimlet?
__________________
Brian Harden
www.chromedcomputing.com
Reply With Quote
  #7 (permalink)  
Old 01-30-2007, 01:22 PM
Former Zimbran
 
Posts: 5,606
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.
Reply With Quote
  #8 (permalink)  
Old 03-17-2007, 11:44 PM
Loyal Member
 
Posts: 94
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.
__________________
Brian Harden
www.chromedcomputing.com

Last edited by brained; 03-17-2007 at 11:48 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.