Okay, I erased /var/spool/qmailscan, and then, as root, ran the configure again. I've trimmed off the the stuff with the identifying information -- the transcript starts where it tests suid:

Testing suid nature of /usr/bin/perl...
Looks OK...
Hit RETURN to create initial directory structure under /var/spool/qmailscan,
and install qmail-scanner-queue.pl under /var/qmail/bin:
perlscanner: generate new DB file from /var/spool/qmailscan/quarantine-attachments.txt
perlscanner: total of 9 entries.


Finished installation of initial directory structure for Qmail-Scanner
under /var/spool/qmailscan and qmail-scanner-queue.pl under /var/qmail/bin.

Finished. Please read README(.html) and then go over the script
(/var/qmail/bin/qmail-scanner-queue.pl) to check paths/etc.

"/var/qmail/bin/qmail-scanner-queue.pl -r" should return some well-known virus
definitions to show that the internal perlscanner component is working.


That's it!



****** FINAL TEST ******

Please log into an unpriviledged account and run
/var/qmail/bin/qmail-scanner-queue.pl -g

If you see the error "Can't do setuid", or "Permission denied", then
refer to the FAQ.

(e.g. "setuidgid qmaild /var/qmail/bin/qmail-scanner-queue.pl -g")


That's it! To report success:


% (echo 'First M. Last'; cat SYSDEF)|mail [EMAIL PROTECTED]
Replace First M. Last with your name.
[EMAIL PROTECTED] qmail-scanner-1.20]# exit
exit
[EMAIL PROTECTED] spool]$ /var/qmail/bin/qmail-scanner-queue.pl -g
perlscanner: generate new DB file from /var/spool/qmailscan/quarantine-attachments.txt
perlscanner: total of 9 entries.
[EMAIL PROTECTED] spool]$ ls /var/spool/qmailscan/
qmail-queue.log quarantine-attachments.txt viruses.log
qmail-scanner-queue-version.txt quarantine.log working
quarantine tmp
quarantine-attachments.db viruses
[EMAIL PROTECTED] spool]$ cd /var/spool/qmailscan/
[EMAIL PROTECTED] qmailscan]$ ls -lia
total 48
400883 drwxrwx--- 5 qscand qscand 4096 Dec 17 20:33 .
336673 drwxr-xr-x 16 root root 4096 Dec 17 20:32 ..
400891 -rw------- 1 root root 720 Dec 17 20:32 qmail-queue.log
400892 -rw------- 1 root root 38 Dec 17 20:32 qmail-scanner-queue-version.txt
400885 drwxrwx--- 5 qscand qscand 4096 Dec 17 20:32 quarantine
400893 -rw-r----- 1 qscand qscand 12288 Dec 17 20:33 quarantine-attachments.db
400889 -rw-rw---- 1 qscand qscand 4279 Dec 17 20:32 quarantine-attachments.txt
400887 -rw-rw---- 1 qscand qscand 0 Dec 17 20:32 quarantine.log
112310 drwx------ 2 root root 4096 Dec 17 20:32 tmp
400884 lrwxrwxrwx 1 qscand qscand 31 Dec 17 20:32 viruses -> /var/spool/qmailscan/quarantine
400888 lrwxrwxrwx 1 qscand qscand 35 Dec 17 20:32 viruses.log -> /var/spool/qmailscan/quarantine.log
304694 drwxrwx--- 5 qscand qscand 4096 Dec 17 20:32 working
[EMAIL PROTECTED] qmailscan]$ date
Wed Dec 17 20:33:36 PST 2003
[EMAIL PROTECTED] qmailscan]$




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to