Plesk - qmail-scanner - beginner questions

Forum for getting help with Project Gamera, Spamassassin, Clamav, qmail-scanner and other anti-spam tools.
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Unread post by Galactic Zero »

think you need to do rpm -e drweb ....
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

i have this listed in my plesk admin interface under components.

drweb 4.33-rh5_psa
drweb-qmail 4.33-cos4.build83071218.20

and only this in root

[root@web1 ~]# rpm -q drweb-qmail
drweb-qmail-4.33-cos4.build83071218.20
[root@web1 ~]#

lol now what
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Unread post by Galactic Zero »

rpm -e drweb from root.
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

[root@web1 ~]# rpm -e drweb
error: package drweb is not installed
[root@web1 ~]#
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
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 »

There is no package called drweb. According to http://www.atomicorp.com/channels/plesk ... i386/RPMS/ it's drweb-base, drweb-daemon, drweb-qmail and drweb-updater these days.

To see what drweb packages you have installed you can run rpm -qa | grep drweb. You can remove them using yum remove <packagenames> or rpm -e <packagenames>.
Lemonbit Internet Dedicated Server Management
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

[root@web1 ~]# rpm -qa | grep drweb
drweb-base-4.33-rh5_psa
drweb-qmail-4.33-cos4.build83071218.20
drweb-daemon-4.33-rh5_psa
drweb-updater-4.33-rh4_psa
[root@web1 ~]#

do all these have to be removed..??
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
Galactic Zero
Forum Regular
Forum Regular
Posts: 471
Joined: Mon Dec 06, 2004 10:43 pm

Unread post by Galactic Zero »

yes;

rpm -e drweb-base drweb-daemon drweb-updater drweb-qmail

Now you might get dependancy errors so you'll have to adjust which order they are in but the above should work just fine.
Franklyn Halamka
Still learning my way around Linux Security.
http://www.galacticzero.net
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

[root@web1 ~]# rpm -e drweb-base drweb-daemon drweb-updater drweb-qmail
warning: /etc/drweb/users.conf saved as /etc/drweb/users.conf.rpmsave
warning: /etc/drweb/drweb_qmail.conf saved as /etc/drweb/drweb_qmail.conf.rpmsave
===> Removing from drweb /usr/bin/crontab ...
Shutting down drwebd: [ OK ]
===> Remove drwebd service ...
===> Removing bases ...
warning: /etc/drweb/drweb32.ini saved as /etc/drweb/drweb32.ini.rpmsave
[root@web1 ~]#

i assume this is on the right track
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
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 »

Galactic Zero wrote:yes;

rpm -e drweb-base drweb-daemon drweb-updater drweb-qmail

Now you might get dependancy errors so you'll have to adjust which order they are in but the above should work just fine.
The order of the package names does not matter.
Lemonbit Internet Dedicated Server Management
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

now i ran this

yum install clamd razor-agents dcc pyzor


=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
clamd i386 0.92-1.el4.art atomic 82 k
dcc i386 1.3.76-1.el4.art atomic 2.4 M
pyzor noarch 0.4.0-11.el4.art atomic 57 k
razor-agents i386 2.84-1.el4.art atomic 134 k
Installing for dependencies:
clamav i386 0.92-1.el4.art atomic 1.2 M
clamav-db i386 0.92-1.el4.art atomic 11 M

Transaction Summary
=============================================================================


i just want to make ure i do this right can screw up a live enviorment ya know and thanks for all your help guys

:)
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

now i removed the psa-spamassassin and i cant control SPA from the admin control panel now

its greyed out
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

i got this during the install

Dependencies Resolved

=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
qmail-scanner noarch 1:2.01-15.el4.art atomic 327 k
Installing for dependencies:
daemontools i386 0.76-1.el4.art atomic 52 k
gamin i386 0.1.7-1.4.EL4 base 112 k
maildrop i386 2.0.4-1.el4.art atomic 280 k
perl-suidperl i386 3:5.8.5-36.el4_5.2 base 109 k
tnef i386 1.4.3-1.el4.art atomic 49 k

Transaction Summary
=============================================================================
Install 6 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 930 k
Is this ok [y/N]: y
Downloading Packages:
(1/6): qmail-scanner-2.01 100% |=========================| 327 kB 00:00
(2/6): daemontools-0.76-1 100% |=========================| 52 kB 00:00
(3/6): perl-suidperl-5.8. 100% |=========================| 109 kB 00:00
(4/6): maildrop-2.0.4-1.e 100% |=========================| 280 kB 00:00
(5/6): tnef-1.4.3-1.el4.a 100% |=========================| 49 kB 00:00
(6/6): gamin-0.1.7-1.4.EL 100% |=========================| 112 kB 00:00
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: gamin ######################### [1/6]
Installing: maildrop ######################### [2/6]
Installing: tnef ######################### [3/6]
Installing: perl-suidperl ######################### [4/6]
Installing: daemontools ######################### [5/6]
Installing: qmail-scanner ######################### [6/6]
Can't do setuid (cannot exec sperl)
Can't do setuid (cannot exec sperl)

Installed: qmail-scanner.noarch 1:2.01-15.el4.art
Dependency Installed: daemontools.i386 0:0.76-1.el4.art gamin.i386 0:0.1.7-1.4.EL4 maildrop.i386 0:2.0.4-1.el4.art perl-suidperl.i386 3:5.8.5-36.el4_5.2 tnef.i386 0:1.4.3-1.el4.art
Complete!
[root@web1 ~]#


is this:
Can't do setuid (cannot exec sperl)
Can't do setuid (cannot exec sperl)

anything to worry about.. do i need to restart the VE
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

does this

Can't do setuid (cannot exec sperl)

have to do with qmail-scanner not having the correct permissions.?
is it trying to run as root or something how do i figure it out.
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
mrgastix
Forum User
Forum User
Posts: 6
Joined: Thu Feb 07, 2008 1:04 pm

Unread post by mrgastix »

For me it worked like a charm. All I did was

Code: Select all

yum remove drweb-qmail
instead only

Code: Select all

yum remove drweb
.

Edit: I use CentOS 5, Plesk 8.3.
area51web
Forum User
Forum User
Posts: 51
Joined: Thu Aug 16, 2007 2:32 pm
Location: South East USA

Unread post by area51web »

i did that and before installing the qmail-scanner and thats when i got the upon install of the qmail-scanner
--------------------
Thanks,
Ray DiStiso
Area51 Web Solutions
http://www.area51webhosting.com
"With out the dedication of our staff and the loyalty of our customers we are nothing"
Post Reply