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

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-02-2009, 10:43 AM
Senior Member
 
Posts: 59
Default [SOLVED] Mail Filter to block spammers

My Zimbra's antivirus and antispamming are enabled but today i am getting spam attack from "info@rzb.ro" or that the sender is "info@rzb.ro".

How can force Zimbra to block this domain or email address?



My Zimbra version:

Release 5.0.13_GA_2791.UBUNTU8 UBUNTU8 FOSS edition

Last edited by emcampos; 04-02-2009 at 10:55 AM..
Reply With Quote
  #2 (permalink)  
Old 04-02-2009, 12:44 PM
Moderator
 
Posts: 1,027
Default

Quote:
Originally Posted by emcampos View Post
My Zimbra's antivirus and antispamming are enabled but today i am getting spam attack from "info@rzb.ro" or that the sender is "info@rzb.ro".

How can force Zimbra to block this domain or email address?



My Zimbra version:

Release 5.0.13_GA_2791.UBUNTU8 UBUNTU8 FOSS edition
You can blacklist it manually by editing /opt/zimbra/conf/spamassassin/local.cf and inserting the following line:
Code:
# Blacklisting
blacklist_from *@rzb.ro
Stop & restart zimbra and you won't see it again.
__________________
Cheers,

Dan
Reply With Quote
  #3 (permalink)  
Old 04-02-2009, 03:40 PM
Senior Member
 
Posts: 59
Default

thanks.

i was able to edit the file.

weird though since the spammer has disappeared even before i editted the file. is it maybe because a spamlisting that is being referenced by Zimbra has already updated the list or this is just coincidental?

with what happened, I am not sure yet if the code works. but if i wont be getting the same spam mail within the next few days then i will assume it worked.

or if another spammer pops up, i'll take it from there.

thank you very much, Mr DWMTRACTOR

Last edited by emcampos; 04-02-2009 at 04:17 PM..
Reply With Quote
  #4 (permalink)  
Old 04-02-2009, 03:45 PM
Moderator
 
Posts: 1,027
Default

Either your Zimbra server figured out he was a spammer, or perhaps, if you have any RBLs enabled, they did. Either way, having the ability to manually blacklist (or whitelist) a particular domain or user is still handy. Even handier, of course, would be having it in our admin gui, but we walk before we run, eh?
__________________
Cheers,

Dan
Reply With Quote
  #5 (permalink)  
Old 04-02-2009, 04:15 PM
Senior Member
 
Posts: 59
Default perldoc

i agree on that, Sir.

By the way i tried launching the "perldoc Mail::SpamAssassin::Conf" to learan more about spamassassin

but i get this error message instead;


noel@zimbra:/opt/zimbra/conf/spamassassin$ perldoc Mail::SpamAssassin::Conf
No documentation found for "Mail::SpamAssassin::Conf".



Is the file missing or I am just wrong here?
Reply With Quote
  #6 (permalink)  
Old 04-02-2009, 04:19 PM
Moderator
 
Posts: 1,027
Default

The Zimbra spamassassin installation is somewhat non-standard, not least in that it goes to a nonstandard installation path. I don't think the perl documentation is there.
__________________
Cheers,

Dan
Reply With Quote
  #7 (permalink)  
Old 04-02-2009, 04:38 PM
Senior Member
 
Posts: 59
Default

Thanks.

Anyway, i googled and got some good links. here is one;


Mail::SpamAssassin::Conf - SpamAssassin configuration file
Reply With Quote
  #8 (permalink)  
Old 04-03-2009, 12:10 AM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

If the message ends up in your Inbox you should just highlight it and mark it as Junk, doing that for a couple of messages usually stops any spam from those messages. If you want some further tips on improving the ant-spam system then search the forums or use this wiki article.
__________________
Regards


Bill
Reply With Quote
  #9 (permalink)  
Old 04-03-2009, 05:25 PM
Senior Member
 
Posts: 59
Default

in my inbox?

but will that be a global setting affecting all users or it will only take effect on my own inbox?
Reply With Quote
  #10 (permalink)  
Old 04-03-2009, 11:00 PM
Zimbra Consultant & Moderator
 
Posts: 20,316
Default

Quote:
Originally Posted by emcampos View Post
in my inbox?

but will that be a global setting affecting all users or it will only take effect on my own inbox?
It trains the anti-spam system and it will affect that spam when it next arrives in your system.
__________________
Regards


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