[Beginner] SpamAssassin-ClamAv on FC2

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

printecho wrote::(

Code: Select all

# yum install qmail-scanner
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 2 - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 2 - Atomic PSA App Vault RPMS
Server: Atomic Rocket Turtle - 2 - SW-Soft PSA 7.5 RPMS
Finding updated packages
Downloading needed headers
Resolving dependencies
.....Unable to satisfy dependencies
Package qmail-scanner needs perl-suidperl, this is not available.
#
... What it means? I've got perl v5.8.3 on my fedora.
I don't know what to do... :cry:
Seems like you removed the standard Fedora base and updates channels... You should be able to get perl-suidperl from those.
Lemonbit Internet Dedicated Server Management
printecho
Forum User
Forum User
Posts: 17
Joined: Fri Jul 21, 2006 3:32 am

Unread post by printecho »

Yeah, I've got perl-suidperl now :) and I did a qmail-scanner-reconfigure but no change : I've got always my "451 qq temporary problem".
I solve it by removing qmail-scanner but it's not a solution... :?
jamesyeeoc
Forum User
Forum User
Posts: 46
Joined: Thu May 12, 2005 3:50 am
Location: Sunny California

Unread post by jamesyeeoc »

There's another thread about this problem:
http://atomicrocketturtle.com/forum/vie ... orary#1110Try making sure clamd starts upon server startup, and make sure it's running now...
printecho
Forum User
Forum User
Posts: 17
Joined: Fri Jul 21, 2006 3:32 am

Unread post by printecho »

yep, i know this thread : clamav and spamassassin runing and are on runlevel 3, qmail-queue file is owned by qmailq and setuid.
It's strange, maybe my fedora don't like me :(
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 »

Try modifying the qmail-scanner-reconfigure script to remove the >/dev/null of output. At least that will give you some better debugging information
printecho
Forum User
Forum User
Posts: 17
Joined: Fri Jul 21, 2006 3:32 am

Unread post by printecho »

ok, I did it and there is the report :
# qmail-scanner-reconfigure
Reconfiguring spamassassin settings: Done
Reconfiguring clamav settings: Done
Configuring qmail-scanner:
Building Qmail-Scanner 2.01-20060626...

This script will search your system for the virus scanners it knows
about, and will ensure that all external programs
qmail-scanner-queue.pl uses are explicitly pathed for performance
reasons.


It will then generate qmail-scanner-queue.pl - it is up to you to install it
correctly.

Searching ............
Oops... Spamd socket not found in /tmp/spamd_full.sock
/tmp/spamd_light.sock

It seems that you're running spamd in unix-socket mode, but the
configure script couldn't find the socket properly.
Try to set it manually using the configure option --sa-socket ...

install: cannot stat `qmail-scanner-queue.pl': No such file or directory
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
OK
#
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 »

psa-spamassassin strikes again! I'm > < this close to Obsoleteing it in qmail-scanner (that will remove it... generally a very evil thing to do).

Turn it off, remove it, etc. Then start spamassassin the normal way (/etc/init.d/spamassassin start), and rerun qmail-scanner-reconfigure
printecho
Forum User
Forum User
Posts: 17
Joined: Fri Jul 21, 2006 3:32 am

Unread post by printecho »

yes yes yes!!!! :lol:
Wahouhou! All's ok! Great!

A really big thanks !
:lol:
Botham
Forum User
Forum User
Posts: 24
Joined: Sun Jun 18, 2006 2:34 am

Unread post by Botham »

I removed psa-spamassassin and am still havin fatal problems with qmail-scanner. I have read every post about qmail-scanner in the forum and tried with and without spamaassassin and clamd running. Error is always the same.

[root spool]# yum install qmail-scanner
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
Server: Atomicorp - 3ES - Atomic Secured Linux (ASL)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 3ES - Atomic PSA App Vault RPMS
Server: CentOS-3 - Base
Server: CentOS-3 - Extras
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.5 RPMS
Server: CentOS-3 - Updates
Server: Atomic Rocket Turtle - 3ES - OS Update RPMS mirror
Finding updated packages
Downloading needed headers
Resolving dependencies
Dependencies resolved
I will do the following:
[install: qmail-scanner 1:2.01-9.rhel3.art.noarch]
Is this ok [y/N]: y
Downloading Packages
Running test transaction:
Test transaction complete, Success!
qmail-scanner 100 % done 1/1
install: cannot stat `qmail-scanner-queue.pl': No such file or directory
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
Installed: qmail-scanner 1:2.01-9.rhel3.art.noarch
Transaction(s) Complete



[root spool]# qmail-scanner-reconfigure
Reconfiguring spamassassin settings: Done
Reconfiguring clamav settings: Done
Configuring qmail-scanner: install: cannot stat `qmail-scanner-queue.pl': No such file or directory
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
setuidgid: fatal: unable to run /var/qmail/bin/qmail-scanner-queue.pl: file does not exist
OK

centos 3.7 plesk 7.54 perl v5.8.0

would love some help, have whiled away a few hours on this on a couple of occasions.
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 »

Best I can offer here is the commercial support services. Its always something different on 3es, like I said Im really close to dropping support for it completely.
Botham
Forum User
Forum User
Posts: 24
Joined: Sun Jun 18, 2006 2:34 am

Unread post by Botham »

Do you mean ASL subscription or another contact? Who do I email?
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 »

If you're an ASL user, yep shoot it to support@atomicorp.com. For no-contract folks, sales@prometheus-group.com
Post Reply