Lunarpages Web Hosting Forum

Author Topic: Help with Spam Assassin and Email  (Read 5364 times)

Offline WShawn

  • Trekkie
  • **
  • Posts: 13
Help with Spam Assassin and Email
« on: March 12, 2015, 05:35:32 PM »
I'll preface by saying I'm a 3D animator/motion graphic designer and not any kind of web guru.

We've been getting a lot more obvious spam as of late, and as far as I can tell Spam Assassin isn't catching any of it.  I see on other posts that Spam Assassin has had a fair number of problems on LP.

We have our default account which is our LP user name.  Within that we have three individual accounts tied to our domain name.  When I accessed our default account yesterday via Horde I saw folders for our three individual accounts, plus folders called SPAM, spam, Junk, Trash, a few test accounts and Virtual Folders. 

Spam Assassin is ENABLED. 

Spam auto-delete is DISABLED.

Spam box is currently ENABLED.

With these settings, though, the "spam" folder had nothing in it newer than Feburary 2012.

Telling Spam Assassin to clear the spam boxes DOES remove whatever messages are in the spam folders (including recent emails I manually moved to the spam folder).

With this framework in mind, a few questions:

How does Spam Assassin know what folders to send spam to?  Does the folder have to be named "spam" or "SPAM" or "Spam" or what?  Some of the individual accounts did not appear to have "spam" folders, so I added those.

Does each individual account have to have one of these explicitly-named spam folders, or do I just need one spam folder in our default account?

How do I even know whether Spam Assassin is doing anything?  I disabled and enabled Spam Assassin.  A window with some code popped up:

                X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on

X-Spam-Level: ****

X-Spam-Status: No, score=4.7 required=5.0 tests=BAYES_20,MISSING_DATE,


   NO_RELAYS shortcircuit=no autolearn=no version=3.3.2

From: "Spam Assassin" <cpanel@localhost>

Apache SpamAssassin™ has been enabled on this account

I have no idea what any of the code means.  After re-enabling no obvious spam (i.e.: Your Starch Inhibitor) is being diverted into any of the spam folders.  I sent some emails from another account with "VIAGRA" in the title, and they weren't caught.

Do I have to do something in cPanel regarding Account Level Filtering or User Lever Filtering to make Spam Assassin work?

Sorry for all of the newbie questions.  I created a support ticket yesterday regarding this, and the reply that came 24 hours later was useless; the responder obviously didn't bother to read my ticket.

Thank you.

Shawn Marshall
Portland, OR

Offline WShawn

  • Trekkie
  • **
  • Posts: 13
Re: Help with Spam Assassin and Email
« Reply #1 on: March 12, 2015, 06:05:53 PM »
After further research I created a spam email filter using Account Level Filtering in cPanel based on these instructions:

That said, I don't see any evidence that Spam Assassin is doing anything.  A filter test with "Viagra pills" in the title returns these results:

Return-path copied from sender
Sender      =
Recipient   =
Testing Exim filter file "/etc/vfilters/"

Filtering did not set up a significant delivery.
Normal delivery will occur.

Thanks for reading.


Offline doncht

  • Intergalactic Cowboy
  • *****
  • Posts: 61
Re: Help with Spam Assassin and Email
« Reply #2 on: March 19, 2015, 09:37:02 AM »
Hi WShawn, spam assasin should work. There might be something that has been missed here. Or those viagra emails might just got smarter. Have you created a support ticket yet and have this one investigated by an LP staff?

Offline MrPhil

  • Senior Moderator
  • Berserker Poster
  • *****
  • Posts: 6429
Re: Help with Spam Assassin and Email
« Reply #3 on: March 19, 2015, 10:21:33 AM »
If SA was running, I think you should have gotten something in the header telling you the SA score. So, I would suspect that SA isn't even running. I've read a lot of complaints about SA crashing and LP doesn't bother to monitor it, acting only when someone opens a support ticket. A ticket is probably your next step.
Visit My Site

E-mail Me
-= From the ashes shall rise a sooty tern =-

Offline slavka012

  • Trekkie
  • **
  • Posts: 15
Re: Help with Spam Assassin and Email
« Reply #4 on: May 26, 2015, 09:45:02 PM »
Spam asassin does not work on LP. Not a single email was classified as SPAM for me in a long long time.

Offline silver45

  • Intergalactic Cowboy
  • *****
  • Posts: 71
Re: Help with Spam Assassin and Email
« Reply #5 on: May 27, 2015, 12:24:33 PM »
Spam asassin does not work on LP. Not a single email was classified as SPAM for me in a long long time.
There are two issues with SA on LP. One is when it quits, in which case you don't see any X-Spam-Status or X-Spam-Score headings in your emails. That can be fixed with a support ticket.

The other problem is when SA is running, but doesn't score correctly due to outdated rules. In that case, a lot of spam has scores so low it comes through like ham. Unfortunately, no one has found a fix for this problem yet, and LP hasn't even commented (that I know of -- if anyone has a reference please correct me).

In the meantime, I've found Mailwasher ( to be an invaluable tool in quickly spotting and deleting spam. It should be safe to mention, since it's not a competing product. It's one of the few programs that has a good freeware version that I've paid for the pro version of.

Offline km99

  • Pong! (the videogame) Master
  • *****
  • Posts: 21
Re: Help with Spam Assassin and Email
« Reply #6 on: September 12, 2015, 07:47:07 PM »
I can't comment on your particular server, but I can say that spamassassin is definitely working properly on mine (more than one).

May I suggest you take a look at my suggestions for training the Bayes filter here:

They have worked wonders for me, I hope they can help you too.