• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

PSA-SpamAssasin not checking / scanning all email accounts

Justin Clarke

Regular Pleskian
I have psa-spamassassin installed and it appears to only check certain email accounts on my server.

If I view the source of an incoming email from one particular email account then I see in the headers:

X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on
s15341377.onlinehome-server.info
X-Spam-Level:
X-Spam-Status: No, score=-6.0 required=7.0 tests=AWL,BAYES_00,
RCVD_IN_DNSWL_MED autolearn=ham version=3.2.4
Received: (qmail 23858 invoked from network); 25 Nov 2010 18:21:37 +0000
.....

Which is what I would expect to see for all email accounts on my server, but if I check the source of emails coming into a different account there is no spam header.

Received: (qmail 13333 invoked from network); 26 Nov 2010 11:32:26 +0000
.....

I don't think it's working on all email accounts that were setup AFTER psa-spamassassin was installed.

Any ideas?
 
What you're describing is already a known bug. Welcome to Plesk 10.
 
Yes, sir. I asked a similar question not too long ago in this thread:
http://forum.parallels.com/showthread.php?t=106216

Then, as you can see, I was forwarded to this thread:
http://forum.parallels.com/showthread.php?t=105681


Have fun. Heh...

Cheers, I am getting mail perfectly fine to aliases, it's just some proper email accounts that aren't being scanned by psa-spamassassin.

I'll try a reinstall of it, or maybe move away from psa-spamassassin and just use the regular spamassassin.

I'll report back after I've seen if I can get it working. Thanks.
 
I am not sure if it will help, but if you're using qmail, try switching to postfix. Or vice versa.
 
I am not sure if it will help, but if you're using qmail, try switching to postfix. Or vice versa.

Cheers, I just switched MTAs to QMail from Postfix because of the 4.5.1 queue file write errors. I got lots of them, so don't want to switch back to Postfix.
 
I removed psa-spamassassin and spamassassin by doing the following:

rpm -e psa-spamassassin
rpm -e spamassassin

I then re-installed the Plesk Spam Assassin from the Plesk Updater.
Addition Mail Services > SpamAssassin support

This is all installed but no emails are getting scanned by spam assassin. I.e, I don't think QMail is passing messages to SpamAssassin and then back again.

So this is worse than what was happening before as some email accounts were getting scanned, but now none are.

---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

v10.0.1 - CentOS 5 VPS Linux 2.6.9-023stab052.4-smp

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE

Installing psa-spamassassin from the Plesk Updater (Addition Mail Services > SpamAssassin support).

ACTUAL RESULT

No emails for any email accounts are getting scanned by Spam Assassin.

EXPECTED RESULT

All emails for all email accounts should get scanned by Spam Assassin.

ANY ADDITIONAL INFORMATION
--------------------------------------------------------------
 
I removed psa-spamassassin and spamassassin by doing the following:

rpm -e psa-spamassassin
rpm -e spamassassin

I then re-installed the Plesk Spam Assassin from the Plesk Updater.
Addition Mail Services > SpamAssassin support

This is all installed but no emails are getting scanned by spam assassin. I.e, I don't think QMail is passing messages to SpamAssassin and then back again.

So this is worse than what was happening before as some email accounts were getting scanned, but now none are.

---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

v10.0.1 - CentOS 5 VPS Linux 2.6.9-023stab052.4-smp

PROBLEM DESCRIPTION AND STEPS TO REPRODUCE

Installing psa-spamassassin from the Plesk Updater (Addition Mail Services > SpamAssassin support).

ACTUAL RESULT

No emails for any email accounts are getting scanned by Spam Assassin.

EXPECTED RESULT

All emails for all email accounts should get scanned by Spam Assassin.

ANY ADDITIONAL INFORMATION
--------------------------------------------------------------

IgorG is it possible to pass this onto the developers?

Thank you.
 
I tried to reconfigure QMail:

/usr/local/psa/admin/sbin/mchk --with-spam

Everything went through fine but still in my mail logs nothing is getting passed / checked by Spam Assassin.

This is a bug in v10? Yes?

If someone can acknowlegde this then I guess the developers can fix it.

Cheers.
 
I tried to reconfigure QMail:

/usr/local/psa/admin/sbin/mchk --with-spam

Everything went through fine but still in my mail logs nothing is getting passed / checked by Spam Assassin.

This is a bug in v10? Yes?

If someone can acknowlegde this then I guess the developers can fix it.

Cheers.
Is spam protection enabled in the e-mail accounts settings?
I had the same problem, so I tried the following:
Removed spamassassin & psa-spamassain and deleted the directory /var/lib/spamassassin
Installed spamassassin and psa-spamassassin using the autoinstaller (/usr/local/psa/admin/bin/autoinstaller)
Run /usr/local/psa/admin/sbin/mchk --with-spam
Run /usr/bin/sa-update to update spamassassin.
I noticed that spam protection was disabled in some mail accounts, when I enabled it, spam assassin started working again.
 
Is spam protection enabled in the e-mail accounts settings?
I had the same problem, so I tried the following:
Removed spamassassin & psa-spamassain and deleted the directory /var/lib/spamassassin
Installed spamassassin and psa-spamassassin using the autoinstaller (/usr/local/psa/admin/bin/autoinstaller)
Run /usr/local/psa/admin/sbin/mchk --with-spam
Run /usr/bin/sa-update to update spamassassin.
I noticed that spam protection was disabled in some mail accounts, when I enabled it, spam assassin started working again.

Thanks Petrou I will give it a go. It's very similar to what I have done already, but worth a try! I'll post back on how it goes.

By the way the only issues I've had since switching to QMail are bare LFs, so I applied the fix for that. Cheers.
 
Is spam protection enabled in the e-mail accounts settings?

If I go to Server Management > Settings > Spam Filter Settings I see the following option:

Switch on server-wide SpamAssassin spam filtering | | (Not supported by the license key)

There is no tick in the box, and therefore disabled.

I've never had a license key for spam filtering, but on Plesk v9.x this option was enabled and it did filter all my spam. The only thing I couldn't do on v9.x was adjust any spam settings using the GUI.

So my question is... Has Plesk now removed spam filtering completely from v10.x unless you have a valid license for it?

Thank you.
 
SpamAssassin checking but not removing emails from blacklisted addresses

Description of problem:
SpamAssassin is running and checking all emails on the server, but ignores removing emails from addresses in the (server-wide) black list.


Steps to reproduce:
Switch on server-wide SpamAssassin spam filtering: YES
Switch on server-wide greylisting spam protection: YES or NO
Apply individual settings to spam filtering: YES or NO


Actual and expected results:
SpamAssassin checks all emails but does not filter (remove) emails from addresses which are in the black list.


OS, Plesk servers versions:
OS Linux 2.6.27.29-0.1-default
Panel version 10.1.1

Email header:
DomainKey-Status: no signature
Return-Path: <[email protected]>
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on
[REMOVED]
X-Spam-Level:
X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,HTML_MESSAGE
autolearn=ham version=3.2.5
X-Original-To: webmaster@[REMOVED]
Delivered-To: webmaster@[REMOVED]
Received: from [REMOVED] (localhost [127.0.0.1])
by [REMOVED] (Postfix) with ESMTP id 447782AC24CD
for <webmaster@[REMOVED]>; Wed, 2 Feb 2011 17:21:28 +0000 (GMT)
Received-SPF: none (no valid SPF record)
Received: from me-ss2-butjwa.mailengine1.com (me-ss2-butjwa.mailengine1.com [72.19.222.161])
by [REMOVED] (Postfix) with ESMTP
for <webmaster@[REMOVED]>; Wed, 2 Feb 2011 17:21:28 +0000 (GMT)
Received: by me-ss2-butjwa.mailengine1.com (PowerMTA(TM) v3.5r15sb7) id h9699g0jql4m for <webmaster@[REMOVED]>; Wed, 2 Feb 2011 09:11:20 -0800 (envelope-from <[email protected]>)
Content-Type: multipart/alternative; boundary="_----------=_1073964459106330"
MIME-Version: 1.0
X-Mailer: StreamSend2 - 111842
X-Mailer-Version: 2.0
X-Mailer-Environment: production
X-Report-Abuse-At: [email protected]
X-Report-Abuse-Info: It is important to please include full email headers in the report
X-rpcampaign: StreamSend13335469
X-Streamsend2id: 111842+2+857167+13335469+me-ss2-butjwa.mailengine1.com
List-Unsubscribe: <mailto:[email protected]>
Date: Wed, 02 Feb 2011 09:00:30 -0800
From: "Majon International" <[email protected]>
To: webmaster@[REMOVED
Subject: You Can Share the Love & WIN!
Message-ID: <[email protected]>

Remark: majon.net is in the black list.
 
Last edited:
Back
Top