PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : qmail - scanner + courier-imap + Procmail ?



thesimp2000
05.01.03, 01:49
Hi zusammen,
ist es irgendwie möglich
qmail mit qmail-scanner + procmail + courier-imap zu installieren ? (benutze MailDir)
Bei der installation bekomme ich folgenden Fehler:



./configure --install

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.


Continue? ([Y]/N)
j

**************************

Cannot find reformime on your system!

This package relies on reformime (part of the maildrop package)
to unpack MIME mail messages, please install it from
http://www.flounder.net/~mrsam/maildrop/

**************************


Ich habe kein maildrop installiert ... hat man mir abgeraten
kann ich den qmail-scanner dennoch installieren ?

thesimp2000
05.01.03, 21:04
wenn ich versuche Maildrop zu installieren bekomme ich folgendes ...

urpmi maildrop

Installiere /var/cache/urpmi/rpms/maildrop-1.3.9-2rph.i586.rpm

Vorbereiten ... ##################################################
Die Installation schlug Fehl:
file /usr/bin/maildirmake from install of maildrop-1.3.9-2rph conflicts with file from package courier-imap-1.5.3-1mdk
file /usr/share/man/man1/maildirmake.1.bz2 from install of maildrop-1.3.9-2rph conflicts with file from package courier-imap-1.5.3-1mdk
file /usr/share/man/man8/deliverquota.8.bz2 from install of maildrop-1.3.9-2rph conflicts with file from package courier-imap-1.5.3-1mdk
file /usr/share/man/man8/makeuserdb.8.bz2 from install of maildrop-1.3.9-2rph conflicts with file from package courier-imap-1.5.3-1mdk
file /usr/share/man/man8/userdb.8.bz2 from install of maildrop-1.3.9-2rph conflicts with file from package courier-imap-1.5.3-1mdk
file /usr/share/man/man8/userdbpw.8.bz2 from install of maildrop-1.3.9-2rph conflicts with file from package courier-imap-1.5.3-1mdk

thesimp2000
05.01.03, 22:26
P.S die manuelle installation funktioniert auch nicht

Manual Installation

The following instructions spell out how to manually install Qmail-Scanner on your system. Simply run ./configure as normal without the "--install" option, and then:

mkdir -p /var/spool/qmailscan
mkdir -p /var/spool/qmailscan/quarantine/tmp /var/spool/qmailscan/quarantine/cur /var/spool/qmailscan/quarantine/new
mkdir -p /var/spool/qmailscan/working/tmp /var/spool/qmailscan/working/cur /var/spool/qmailscan/working/new
mkdir -p /var/spool/qmailscan/archive/tmp /var/spool/qmailscan/archive/cur /var/spool/qmailscan/archive/new
cp quarantine-attachments.txt /var/spool/qmailscan/
chown -R qmailq:qmail /var/spool/qmailscan/
cp qmail-scanner-queue.pl /var/qmail/bin/qmail-scanner-queue.pl
chown qmailq:qmail /var/qmail/bin/qmail-scanner-queue.pl
chmod 4755 /var/qmail/bin/qmail-scanner-queue.pl #(i.e same perms as qmail-queue)
#run "/var/qmail/bin/qmail-scanner-queue.pl -h" to view the few command-line options there are
/var/qmail/bin/qmail-scanner-queue.pl -z # to initialize the version file.
/var/qmail/bin/qmail-scanner-queue.pl -g #to initialize the perlscanner database.



After this is done - as with the automated install - you will have to alter your system's Qmail startup scripts (e.g. /etc/rc.d/init.d/qmail) to call QMAILQUEUE as documented.

If you are wanting to run Qmail-Scanner without the QMAILQUEUE patch, then you're in (almost) unsupported territory as the number of possible problems increases dramatically. Anyway, if you are interested, you should generate the qmail-scanner-queue.pl program with a few different options (see "./configure --help" for details). What follows is an example only:

./configure --debug yes --admin me --domain my.domain --notify sender,admin \
--log-details syslog --unzip yes --no-QQ-check \
--qmail-queue-binary /var/qmail/bin/qmail-queue.real

This contains two options not normally used: the "--no-QQ-check" and "--qmail-queue-binary" options. The first stops ./configure checking for the presence of the QMAILQUEUE patch, and the second tells Qmail-Scanner where the "real" Qmail qmail-queue binary is. In this case it is moved to /var/qmail/bin/qmail-queue.real. Once this is done, the resulting qmail-scanner-queue.pl program can be copied onto /var/qmail/bin/qmail-queue.

Last Updated: Sunday 20th of January 2002 03:59:42 PM GMT

rabenkind
05.01.03, 23:32
hi thesimp2000

was hat denn bei der manuellen installmethode nicht geklappt nur die readmeseite zu posten bringt es nicht.
ausserdem brauchst du dazu die source sprich so ein ding maildrop-verxx.tar.gz kein rpm.

greetz rabenkind :))

ps bzw ich weiß nicht ob es auch mit einem source-rpm geht, weil ich die dinger nicht benutze.

thesimp2000
06.01.03, 00:01
o.k

ich will kein maildrop installieren, da es mit courier-imap einen konflikt hat.
ich will nur qmail + qmail-scanner + courier-imap + procmail.

--> (benutze aber Maildir)

qmail funktioniert ... bestens.
courier-imap auch...
procmail auch.

nun möchte ich qmail-scanner installieren. Aber nicht mit maildrop. Sofern dass geht.
wenn ich den qmail-scanner installiere bekomme ich den Fehler dass er maildrop nicht findet.
Wenn ich nun qmail-scanner manuell installiere klappt das auch ..aber mir
fehlt wohl ein perl-suid paket ... jedoch finde ich das nicht. werder als tar noch als rpm.


/var/qmail/bin/qmail-scanner-queue.pl
bash: /var/qmail/bin/qmail-scanner-queue.pl: SUIDPERL: bad interpreter: No such file or directory