1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Qmail, Spamassassin, MAPS, and SURBL

Discussion in 'Plesk for Linux - 8.x and Older' started by NightStorm, Jun 3, 2006.

  1. NightStorm

    NightStorm Guest

    0
     
    I want to use SURBL scanning of incoming messages to properly detect spam. Does anyone know of a decent Plesk-based how-to on how I can intigrate multi.surbl.org into my qmail or Spamassassin? Will entering multi.surbl.org in my MAPS settings work, or is there some code hacking involved?
     
  2. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
  3. NightStorm

    NightStorm Guest

    0
     
    So again, how do I impliment it into my global spamassassin settings?
    I need to copy http://spamassassin.apache.org/full/3.1.x/dist/rules/25_uribl.cf into one of my files, or include it somehow, but which one am I looking for?
    If I add the stuff to /etc/mail/spamassassin/local.cf, will it take for everyone on the box, or do I need to edit something else?
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    All you have to do is to drop the uribl file into either the /etc/mail spamassassin directory or into /usr/share/spamassassin. Then do this to test it:

    # spamassassin -D --lint

    This will run a test for the configuration. If there are any problems it will tell you at the end.
     
  5. NightStorm

    NightStorm Guest

    0
     
    See? Now that's what I was looking for. :)
    Thanks. All the sites I was finding seems to be under the assumption that the people working on the stuff already knew everything about it. I'm more of the hardware and web side of things, personally... email always just annoys me (one more way for someone to harrass me).
    Returning one error:
    [32476] warn: lint: 1 issues detected, please rerun with debug enabled for more information

    This is the only thing I can find in the output that could be "the error". Any ideas?

    no dbs present, cannot tie DB R/O: /root/.spamassassin/bayes_toks
     
  6. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    That could be the issue, try deleting the new cf file (save a copy) and run the test again.

    Are you using Plesk's spamassassin or ART's?
     
  7. NightStorm

    NightStorm Guest

    0
     
    ART's. sw-soft is slow to update, slower to support, and their build tried to slaughter my server... when it wasn't busy randomly dying, that is.
     
  8. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    I agree, I use ART's Gamera as my email gateway and it rocks. You can update the rules yourself, I use rules-du-jour.

    On that error, do a locate for bayes_tok. You may have to set the path differently in qmail-scanner-que.pl. Mine is found in /var/qmail/.spamassassin
     
  9. NightStorm

    NightStorm Guest

    0
     
    Seems that what happened was it "forgot" all the learning it had done... all 30,000+ messages. *sigh*
    It's in the process of re-learning the spam database now... then I get to start on the ham database. Then perhaps things will be back to normal.
    It was doing so good too... I should have never messed with it.
     
Loading...