Results 1 to 10 of 10

Thread: [SOLVED] Mail Filter to block spammers

  1. #1
    emcampos is offline Senior Member
    Join Date
    Jan 2009
    Location
    manila
    Posts
    59
    Rep Power
    6

    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.

  2. #2
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    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

  3. #3
    emcampos is offline Senior Member
    Join Date
    Jan 2009
    Location
    manila
    Posts
    59
    Rep Power
    6

    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.

  4. #4
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    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

  5. #5
    emcampos is offline Senior Member
    Join Date
    Jan 2009
    Location
    manila
    Posts
    59
    Rep Power
    6

    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?

  6. #6
    dwmtractor's Avatar
    dwmtractor is offline Moderator
    Join Date
    Jul 2007
    Location
    San Jose, CA
    Posts
    1,027
    Rep Power
    10

    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

  7. #7
    emcampos is offline Senior Member
    Join Date
    Jan 2009
    Location
    manila
    Posts
    59
    Rep Power
    6

    Default

    Thanks.

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


    Mail::SpamAssassin::Conf - SpamAssassin configuration file

  8. #8
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,483
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

  9. #9
    emcampos is offline Senior Member
    Join Date
    Jan 2009
    Location
    manila
    Posts
    59
    Rep Power
    6

    Default

    in my inbox?

    but will that be a global setting affecting all users or it will only take effect on my own inbox?

  10. #10
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,483
    Rep Power
    56

    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


    Acompli: A new adventure for Co-Founder KevinH.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: 02-03-2011, 07:01 AM
  2. Replies: 30
    Last Post: 01-13-2009, 08:00 AM
  3. Migration Assistance
    By dwill in forum Administrators
    Replies: 10
    Last Post: 12-02-2008, 08:20 AM
  4. Problem with Postfix and MTA
    By ZMilton in forum Administrators
    Replies: 16
    Last Post: 04-16-2008, 06:47 AM
  5. receiveing mail
    By maybethistime in forum Administrators
    Replies: 15
    Last Post: 12-09-2005, 04:55 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
  •