I am getting errors while running Qmail-Scanner. from what I see - it seems to get confused where it keeps it's temp files and whether they are files or directories(see the log at the end). Anyone has any ideas?
 
Ok,here is my setup: I am running RH7.2 x86. I am running qmail patched with the QMAILQUEUE patch and SpamAssassin 1.20.
 
I have tested SpamAssassin, it works from the command line. Without the Qmail-Scanner, qmail hums along. (it's a relay server)
 
I've installed Qmail-Scanner 1.11 by the directions on the site. Added all the required pieces (did not install Maildrop, only the reformime binary). What I could, I recompiled myself.
 
I generated  the qmail-scanner-queue.pl with the configure line(from within the file):
---------------------
./configure --spooldir /var/spool/qmailscan --qmaildir /var/qmail --bindir /var/qmail/bin --qmail-queue-binary /var/qmail/bin/qmail-queue  --admin postmaster --domain private.com --notify sender,recips,admin --local-domains private.com,private2.com --lang en_GB --debug 1 --unzip 1 --add-dscr-hdrs 0 --archive 0 --redundant 0 --log-details  --fix-mime 1  --scanners "auto"
---------------------
 
it had permissions of
---------------------
-rws--x--x    1 qmailq   qmail       52999 May  1 18:53 qmail-scanner-queue.pl
---------------------
 
 
I created a directory for the spooler /var/spooler/qmailscan/.
Here are the permissions/contents (qmailq is UID 501) ( I made permissions on the dir 777 for testing's sake):
---------------------
[root@mailman qmailscan]# pwd                
/var/spool/qmailscan
[root@mailman qmailscan]# ls -la
total 36
drwxrwxrwx    2 qmailq   qmail        4096 May  2 13:51 .
drwxr-xr-x   14 root     root         4096 May  1 18:52 ..
-rw-------    1 qmailq   nofiles      6410 May  2 13:36 qmail-queue.log
-rw-------    1 qmailq   nofiles        20 May  2 13:29 qmail-scanner-queue-version.txt
-rw-r-----    1 qmailq   nofiles     12288 May  1 19:16 quarantine-attachments.db
-rw-r--r--    1 qmailq   qmail        3482 May  1 18:52 quarantine-attachments.txt
-------------------------------------------
 
 
 
here is the log with the error
 
--------------------------------------------qmail-queue.log -----------------------
02/05/2002 13:36:32:4185: +++ starting debugging for process 4185 by uid=501 at 02/05/2002 13:36:32
02/05/2002 13:36:32:4185: setting UID to EUID so subprocesses can access files generated by this script
02/05/2002 13:36:32:4185: program name is qmail-scanner-queue.pl
02/05/2002 13:36:32:4185: incoming SMTP connection from via smtp from 66.28.68.87
02/05/2002 13:36:32:4185: w_c: mkdir /var/spool/qmailscan/mailman.private.com10203717924084185
02/05/2002 13:36:32:4185: w_c: start dumping incoming msg into /var/spool/qmailscan/working/tmp/mailman.private.com10203717924084185 [1020371792.17098]
02/05/2002 13:36:32:4185: tempfail: X-Qmail-Scanner-1.11: cannot write to /var/spool/qmailscan/working/tmp/mailman.private.com10203717924084185 - No such file or directory
------------------------------------------------------------------------------
 
-Michael Lasevich

Reply via email to