qmail-scanner setup on Plesk Reloaded

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
phvt

qmail-scanner setup on Plesk Reloaded

Unread post by phvt »

First off, thanks for all your hard work, Scott.

I have a feeling the info I need is in the old forums, which were removed yesterday. I'd be happy to read and follow documentation, I just can't find much of any.

I'd like to use qmail-scanner, but my first attempt (while it did work) caused some problems within Plesk (spammng returned errors) and when SA was invoked from .qmail (more errors in maillog). I'm pretty sure this is because I didn't disable SA from within Plesk nor did I remove the old spamassassin and spamassassin-psa installations. But--I don't know exactly which of these I need to remove before installing q-s.

What are the step by step instructions for cleanly getting the latest qmail-scanner and SpamAssassin 3.0.1 running smoothly? Terse is fine, but "yum install qmail-scanner" is a little too terse :wink: . Specifically, what has to be disabled in Plesk and uninstalled prior to beginning the yum installs of spamassassin and qmail-scanner?

Lastly, I do have SquirrelMail running (with quite a few customized plugins). Does the SquirrelMail RPM use the sasql plugin? What options do you use in its config.php, so I can set these up in my own SM installation?

Thanks a ton!
Paul
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

heh, well it really is as easy as "yum install qmail-scanner" Im not one for making people do complex things to get my packages to work. If you look at anything Ive made so far that there is almost never any interaction needed to make the system work. Thats why I always avoid CP integration, if you do your job right, you dont need a CP.
phvt

Unread post by phvt »

Thanks for the quick reply. Perhaps my real problem was a botched upgrade to SA 3.0.1 (using the ART RPM).

To summarize what happened: yum install clamav, yum install spamassassin (from the 7.1 art channel, without removing SA2), yum install qmail-scanner. Actually, I installed qmail-scanner first but clamav was not fetched and installed as your documentation suggested. I ran the reconfigure script. In Plesk, I couldn't turn system-wide filtering off because spammng was returning an error to Plesk.

Attempting to remove the changes, I removed (yum remove) the new RPMs and reinstalled just the older spamassassin RPM from the PSA channel. After that didn't help, I installed the PSA qmail too and at least mail delivery resumed. However, I had a really hosed email system; message bodies were empty. I pointed MX to an alternate host and had the system restored from backup.

I've spent over 10 years maintaining everything from source. I am used to carefully documenting detailed procedures for every upgrade. I'd really like to trust the ease you are providing--I need it for my future sanity--but I clearly did something wrong in the Q-S installation process.

Was the problem just that I didn't use "yum update" with SpamAssassin?

If I install qmail-scanner, will using yum remove get me back to where I started, or is there some other step to backing out to a previous version?

Thanks!
Paul
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Yes, yum remove is going to remove the package safely. Some packages are interdependent, so a remove event could take out multiple rpms, make sure you review the list of changes it's going to make before you hit yes.
Griffith
Forum User
Forum User
Posts: 95
Joined: Tue Dec 07, 2004 1:32 pm

Unread post by Griffith »

if I run "yum install qmail-scanner", do I have to install spamass-3?

yum install qmail-scanner
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3 - Art RPMS
Server: CentOS-3 - Addons
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: CentOS-3 - Updates
Finding updated packages
Downloading needed headers
Resolving dependencies
...Dependencies resolved
I will do the following:
[install: qmail-scanner 1:1.24-1.rhel3.art.noarch]
I will install/upgrade these to satisfy the dependencies:
[deps: dcc 1.2.63-1.rhel3.art.i386]
[deps: perl-Time-HiRes 1.38-3.i386]
[deps: razor-agents 2.61-2.rhel3.art.i386]
[deps: perl 3:5.8.5-9.rhel3.art.i386]
[deps: perl-Digest-Nilsimsa 0.06-1.rhel3.art.i386]
[deps: perl-suidperl 3:5.8.5-9.1.rhel3.art.i386]
[deps: perl-Digest-HMAC 1.01-11.1.noarch]
[deps: perl-Net-DNS 0.31-3.1.noarch]
[deps: maildrop 1.6.0-1.rhel3.art.i386]
[deps: daemontools 0.70-1.rhel3.art.i386]
[deps: tnef 1.2.1-1.rhel3.art.i386]
[deps: spamassassin 1:3.0.1-2.rhel3.art.i386]
[deps: perl-Digest-SHA1 2.01-15.1.i386]
Is this ok [y/N]: n
Exiting on user command.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

yes, since those are all dependencies. q-s likes to freak out sometimes when it cant detect a content scanner
Griffith
Forum User
Forum User
Posts: 95
Joined: Tue Dec 07, 2004 1:32 pm

Unread post by Griffith »

but, can I use spamas...3 with plesk? the reason why I am asking, is that I have payed for the spamass module and have spamassassin-2.63
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

sure, I do, but I dont use PSA's spamassassin system since it would be redundant with q-s
Post Reply