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

Using my server to filter Spam using Spamassassin

Discussion in 'Plesk for Linux - 8.x and Older' started by AndyC, Oct 6, 2006.

  1. AndyC

    AndyC Guest

    0
     
    How do I use my plesk server as a middleman between my current mailserver and the outside world? I want my plesk server to take emails from the outside world run them through spam assassin then forward them all on to my office's mailserver for final delivery. Spam assassin is on my control panel in plesk so I assume it is up and running, there's just no email pointed towards my plesk server currently.
     
  2. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
  3. AndyC

    AndyC Guest

    0
     
    Just to make sure

    Thanks for your post but just to clarify before I do anything...

    1.I need to remove psa spam assassin.

    How do I do this and will that mean I can't change spam assassin settings from the control panel?

    2. Install qmail scanner. Again do I just install this...ehat is involved. Sorry I am totally new to plesk and qmail and spam assassin.

    3. Then I chane the rcpthosts and smtproutes files. Will this then simply start working? What things do I need to start up etc...thanks for the help I realy appreciate it...Andy
     
  4. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    You can remove it with yum, or rpm (yum remove psa-spamassassin). Yes once psa-spamassassin is removed, there is no interface in psa to configure spamassassin. There is however a way to configure it through horde or squirrelmail. I put together a squirrelmail rpm to do this a few years ago, which is currently in the archive.

    Once you've got yum configured, you just run yum install qmail-scanner (drweb will also need to be removed, pardon me for leaving that out).

    The docs on the Project Gamera page will mostly apply to a psa server in this configuration, nothing needs to be restarted, as the smtproutes and rcpthosts files are read each time a message is recieved. All changes are immediate.
     
  5. AndyC

    AndyC Guest

    0
     
    Ok sounds good thanks, one more thing...I don't seem to have an smtproutes file...should I just create it? or does this mean somethings up?

    Really appreciating your help
     
  6. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    you just make one, its not there by default
     
  7. AndyC

    AndyC Guest

    0
     
    Ok, I'm all set to start my install, in the words of Columbo "just one question"...(until it all goes wrong!)...How do I apply the qmailqueue patch...I have downloaded it. Where does the actual patch begin in the txt doc...where do I put it on my server and what do I type to run it?

    Does it start with diff - u qmail...?

    Do I put it in /var/qmail?

    Is it just patch qmailqueue-patch to run it?
     
  8. atomicturtle

    atomicturtle Golden Pleskian

    29
     
    Joined:
    Nov 20, 2002
    Messages:
    2,110
    Likes Received:
    7
    Location:
    Washington, DC
    Even if you do get it into qmail, you'll have to also set the system up to use tcpserver. The shortcut I used in the qmail-scanner rpm was to put a wrapper around the qmail-queue binary.
     
Loading...