Page 1 of 1

qmail-scanner doesn't install... trying for SpamAssassin

Posted: Tue Apr 22, 2008 2:33 pm
by soarchrist
I have a dedicated server that is running Plesk 8.3 on FedoraC 7 (Linux 2.6.23.15-80.fc7)...

Remoting in through SSH, I have successfully uninstalled drweb.. but that's it! I'm so disappointed. I'm somewhat new to the linux CLI... so bear with me.

I want to get spamassassin running on this box, and following general guidelines I found on the web, I've determined that I need to install and use qmail-scanner to communicate between the qmail-send service and the SA service. However, when I run...

Code: Select all

yum install qmail-scanner
I get the following error messages. I've searched... for hours, trying to find a solution. Anyone have ANY direction towards my problem/solution?

Error messages for installation of qmail-scanner (i removed my ip address)

Code: Select all

[root@**-**-**-*** ~]# yum install qmail-scanner
fedora                    100% |=========================| 2.1 kB    00:00
atomic                    100% |=========================|  951 B    00:00
updates                   100% |=========================| 2.3 kB    00:00
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package qmail-scanner.noarch 1:2.02-1.f7.art set to be updated
--> Processing Dependency: perl-suidperl for package: qmail-scanner
--> Processing Dependency: tnef for package: qmail-scanner
--> Processing Dependency: maildrop for package: qmail-scanner
--> Processing Dependency: daemontools >= 0.76 for package: qmail-scanner
--> Running transaction check
---> Package maildrop.i386 0:2.0.4-6.fc7 set to be updated
---> Package tnef.i386 0:1.4.3-1.f7.art set to be updated
---> Package daemontools.i386 0:0.76-1.f7.art set to be updated
---> Package perl-suidperl.i386 4:5.8.8-28.fc7 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 qmail-scanner           noarch     1:2.02-1.f7.art  atomic            339 k
Installing for dependencies:
 daemontools             i386       0.76-1.f7.art    atomic             63 k
 maildrop                i386       2.0.4-6.fc7      updates           323 k
 perl-suidperl           i386       4:5.8.8-28.fc7   updates            59 k
 tnef                    i386       1.4.3-1.f7.art   atomic             51 k

Transaction Summary
=============================================================================
Install      5 Package(s)
Update       0 Package(s)
Remove       0 Package(s)

Total download size: 836 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test


Transaction Check Error:
  file /usr/bin/deliverquota from install of maildrop-2.0.4-6.fc7 conflicts with file from package courier-imap-3.0.8-fc7.build83071218.19
  file /usr/bin/maildirmake from install of maildrop-2.0.4-6.fc7 conflicts with file from package courier-imap-3.0.8-fc7.build83071218.19
  file /usr/share/man/man1/maildirmake.1.gz from install of maildrop-2.0.4-6.fc7 conflicts with file from package psa-qmail-1.03-fc7.build83071218.19
  file /usr/share/man/man5/maildir.5.gz from install of maildrop-2.0.4-6.fc7 conflicts with file from package psa-qmail-1.03-fc7.build83071218.19

Thanks in advance for anyone's post. I feel completely lost and don't want to mess too much up.

Scott

Posted: Tue Apr 22, 2008 3:26 pm
by scott
Looks like the fedora maildrop package conflicts with courier-imap from plesk. Try excluding it and do it again.

Posted: Tue Apr 22, 2008 3:41 pm
by soarchrist
:( How do I exclude it? :(
(newbie in the greatest sense)

Tried Excluding...

Posted: Tue Apr 22, 2008 4:12 pm
by soarchrist
I tried editing the /etc/yum.conf file to add 'exclude=maildrop' so that it ignored the maildrop package during install. This didn't work as it reminded me that maildrop is required for qmail-scanner.

Still no hope at this point... :(

Posted: Tue Apr 22, 2008 7:00 pm
by scott
Youd do that on the specific channel, which would be in the fedora repo file.

Tried exclude... no go.

Posted: Wed Apr 23, 2008 1:06 pm
by soarchrist
I tried

Code: Select all

yum install qmail-scanner --exclude=maildrop
and it told me maildrop is required. I also tried adding the following line to my fedora.repo and still not right:

Code: Select all

exclude=maildrop
I still can't figure out why it's not letting me install qmail-scanner. Do I need to UNINSTALL psa-qmail and courier-imap first? That sounds dangerous considering this is a hosted dedicated server and it's using Plesk...

Thanks.... but

Posted: Thu Apr 24, 2008 3:50 pm
by soarchrist
I can manually ask yum to exclude maildrop from the install, but it reminds me that this is a required dependency. Furthermore, I noticed that courier-imap just received a new version.

My error message says my server is using courier-imap 3.0.8... whereas the courier site has 4.3.1 as the latest.

Would I harm my current setup to try to upgrade this? In other words, I've got a huge list of people using the email off this server currently, I can't afford to do an upgrade all to find out I need to spend days configuring a new setup. Any insight on this?

Posted: Thu Apr 24, 2008 4:32 pm
by scott
thats because you have to exclude it on the specific channel. IE whatever fedora channel that package is coming from, the [updates] channel.

Posted: Tue Aug 05, 2008 4:43 am
by arnavisca
Hi, im new here.

I have the same problem with Fedora core 7 installing qmail-scanner.
I try to exclude maildrop in every channel but this dont work.
Any solutions?

Thanks

Hope this helps!

Posted: Tue Aug 05, 2008 9:09 am
by soarchrist
Arnavisca,

My memory fails me too much as to what it was the finally made it all work. I will say that once you get it to work, it's a great package to have.

If my memory serves me right, you want to make sure you're excluding maildrop (exclude=maildrop) in the updates file. I have the maildrop exclusion in my yum.conf, but I'm not sure if that does anything. I think the key file is inside my /etc/yum.repos.d/fedora-updates.repo file. Edit this file and add the 'exclude=maildrop' to the first section ([updates]) on a new line.

Then try to re-install qmail-scanner with YUM. I hope this helps!