Awesome. Thank you.
 
I've created the dirs before, but not as maildirs
 
running:
 
maildirmake working
maildirmake quarantine
 
fixed it :-)
 
Thank you.
 
-Michael
 
----- Original Message -----
Sent: Thursday, May 02, 2002 2:40 PM
Subject: RE: [Qmail-scanner-general]tempfail: cannot write to ...No such file or directory

Does the dir "working" exist?  It should.  "ls -la" should show:
drwxr-xr-x   5 qmailq   qmail        512 Jul  3  2001 archives
-rwxr-xr-x   1 qmailq   qmail    40443965 May  2 17:41 mailstats.csv
-rwxr-xr-x   1 qmailq   qmail    1745199 Apr 24 15:09 qmail-queue.log
-rwxr-xr-x   1 qmailq   qmail         18 May  2 00:03 qmail-scanner-queue-version.txt
drwxr-xr-x   5 qmailq   qmail        512 Mar 13 10:43 quarantine
-rw-r-----   1 qmailq   qmail      24576 Apr 24 14:59 quarantine-attachments.db
-rwxr-xr-x   1 qmailq   qmail       5471 Mar 25 10:52 quarantine-attachments.txt
-rwxr-xr-x   1 qmailq   qmail     194296 May  2 17:29 quarantine.log
lrwxrwxrwx   1 root     other         31 Sep 30  2001 viruses -> /var/qmail/qmailscan/quarantine
lrwxrwxrwx   1 root     other         35 Sep 30  2001 viruses.log -> /var/qmail/qmailscan/quarantine.log
drwxr-xr-x   5 qmailq   qmail        512 Jul  3  2001 working
Both working and quarantine are Maildirs.
Ed.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Lasevich
Sent: Thursday, May 02, 2002 5:27 PM
To: [EMAIL PROTECTED]
Subject: [Qmail-scanner-general]tempfail: cannot write to ...No such file or directory

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