Creating a Spam Filter in SquirrelMail 1.4.9a (Dreamhost)

Posted on 2007-07-24
Last Modified: 2013-12-09
Hi, I need to create a spam filter in SquirrelMail 1.4.9a. The ISP Dreamhost is hosting my email. Unfortunately my email address got leaked to a spammer whose mail doesn't not get flagged by the existing Junk mail rules. The X-Spam Score as shown in the full header is 1.001, which is too low to get flagged by SpamAssassin. So I need to create a smart filter by using the tools that Dreamhost offers.

The mail is a spoof of bluemountain or 123greetings and looks legitimate except for the fact that the URL has an IP address. The email has my personal email address (a .org email address) as the sole recipient. I've never received spam directly intended for me until this began, so this is very frustrating. One thing I was thinking of was to create a filter that blocks anything with an http://<IP_Address> in the body of the email. I don't know whether that will generate false positives. But by and large I need a solution for catching this spam using Dreamhost's tools. Thanks.
Question by:Pakfan
    LVL 36

    Accepted Solution

    How much access do you have to the server?

    There are various squirrelmail plugins for antispam. See
    'spamrule' could be use to write simple rules to block specific spam.
    'spam buttons' could be used so that you could report spam so that spamassassin learns it as spam so it is likely to detect it in future.

    There are many additions you can make to spamassassin itself to improve its effectivness.
    Do you have full access to the mail server?
    Or can you manually add spamassassin rules?
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

    Forget those services on TV trying to sell you software – that’s step one.  Almost all of the software you need should be available for free.  The tricky part is doing the work.  If you are not comfortable performing these steps yourself, contact a …
    Ransomware continues to be a growing problem for both personal and business users alike and Antivirus companies are still struggling to find a reliable way to protect you from this dangerous threat.
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    26 Experts available now in Live!

    Get 1:1 Help Now