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 04-01-2009, 12:54 PM
Member
 
Posts: 13
Default Spam Whitelist?

Running v5.0.13 - open source on Ubuntu 8.04. Following the guide on this site adjusted the percentages for Spam reject and deletion to block out more spam - it is working satisfactorily as less spam is ending up in the inbox & junk folder, however, there are a couple sites that are now being deleted that I would like to receive without opening the whole thing back up. Haven't been able to find anything with regards to creating a "whitelist". Is this possible and could someone point me in the right direction on how to do it?

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-01-2009, 01:11 PM
Loyal Member
 
Posts: 76
Default

It is possible. Here's how I do it.

Adding a domain or user to a black or whitelist is done on the following file:
/opt/zimbra/conf/salocal.cf

Example;

whitelist_from *@yahoo.com
whitelist_from user@company.com

blacklist_from sea@lab.com
blacklist_from *@mcribstatus.com


After modifying salocal.cf, you must restart Amavis to take effect.

Code:
zmamavisdctl restart
Reply With Quote
  #3 (permalink)  
Old 04-01-2009, 01:18 PM
Member
 
Posts: 13
Smile

Quote:
Originally Posted by mek1 View Post
It is possible. Here's how I do it.

Adding a domain or user to a black or whitelist is done on the following file:
/opt/zimbra/conf/salocal.cf

Example;

whitelist_from *@yahoo.com
whitelist_from user@company.com

blacklist_from sea@lab.com
blacklist_from *@mcribstatus.com


After modifying salocal.cf, you must restart Amavis to take effect.

Code:
zmamavisdctl restart
Awesome - thanks!

Zimbra Rocks!
Reply With Quote
  #4 (permalink)  
Old 04-01-2009, 01:21 PM
Loyal Member
 
Posts: 76
Default

I should have mentioned to make a copy of salocal.cf before alteration just to be safe.
Reply With Quote
  #5 (permalink)  
Old 04-01-2009, 02:31 PM
Member
 
Posts: 13
Default

Quote:
Originally Posted by mek1 View Post
I should have mentioned to make a copy of salocal.cf before alteration just to be safe.
Standing Operational Procedure ..... thanks again!
Reply With Quote
  #6 (permalink)  
Old 04-01-2009, 03:47 PM
raj raj is offline
Moderator
 
Posts: 768
Default

keep backup somewhere because it will get overwritten on zimbra upgrades..

Raj
__________________
i2k2 Networks
Dedicated & Shared Zimbra Hosting Provider
Reply With Quote
  #7 (permalink)  
Old 04-01-2009, 03:53 PM
Member
 
Posts: 13
Default

Quote:
Originally Posted by raj View Post
keep backup somewhere because it will get overwritten on zimbra upgrades..

Raj
Good to know - plan to upgrade to 5.0.14 next week.
Reply With Quote
  #8 (permalink)  
Old 04-01-2009, 11:40 PM
Moderator
 
Posts: 7,928
Default

You should actually make the change to salocal.cf.in as salocal.cf will be overwritten when ZCS is restarted. And as raj has pointed out when you upgrade your salocal.cf.in will be overwritten with a new version to keep a copy of any changes you make.
__________________
Reply With Quote
  #9 (permalink)  
Old 04-02-2009, 09:30 AM
Loyal Member
 
Posts: 76
Default

good to know, thanks uxbod.
Reply With Quote
  #10 (permalink)  
Old 04-02-2009, 02:58 PM
Active Member
 
Posts: 24
Default modified salocal.cf and update?

I have the same problem, but If I modified the salocal.cf, my Zimbra is gonig to updated??, i dont like to update zimbra for the moment, Is possible to add domains to my whitelist and dont update zimbra?

My domain is EMPRESA.COM, if I add the same domain EMPRESA.COM to the whitelist, Im going to have some errors? this is because 2 or my accounts 1@EMPRESA.COM and 2@EMPRESA.COM send email to me 3@EMPRESA.COM and outlook send this email to the bulk

Thanks
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.