A few weeks ago I had qscanq working with a copy of qmail-ldap which I'd built 
over a year ago.  I just rebuilt qmail-ldap with the latest patch and it 
appears to be working fine, but....

qscanq is now generating temporary errors.

Here's the order that I did things:

I was running qmail-ldap 20030101 happily.

I then built qscanq 0.31-3 and got it working fine with qmail-ldap 20030101.

I built qmail-ldap 20040301a and it worked fine except that mail that passed 
through qscanq failed.

With debugging set to 4, my smtpd log shows:

@400000004048ed8e11fdef24 tcpserver: pid 27347 from 127.0.0.1
@400000004048ed8e1207229c tcpserver: ok 27347 localhost:127.0.0.1:25 
localhost:127.0.0.1::45851
@400000004048ed8e121dc77c qmail-smtpd 27347: connection from 127.0.0.1 (localhost) to 
localhost
@400000004048ed8e121e4c4c qmail-smtpd 27347: enabled options: starttls relayclient 
sanitycheck returnmxcheck  qmailqueue /usr/sbin/qscanq
@400000004048ed8e1223d25c qmail-smtpd 27347: remote ehlo: io.trinsics.com
@400000004048ed8e1224572c qmail-smtpd 27347: max msg size: 0
@400000004048ed8e1243d1c4 qmail-smtpd 27347: remote sent 'mail from': FROM:<[EMAIL 
PROTECTED]> size=1327
@400000004048ed8e124475d4 qmail-smtpd 27347: mail from: [EMAIL PROTECTED]
@400000004048ed8e1259de4c qmail-smtpd 27347: remote sent 'rcpt to': TO:<[EMAIL 
PROTECTED]>
@400000004048ed8e125a72bc qmail-smtpd 27347: rcpt to: [EMAIL PROTECTED]
@400000004048ed8e125c7e2c qmail-smtpd 27347: smtp data
@400000004048ed8e126d8974 qmail-smtpd 27347: go ahead
@400000004048ed8e1285b4f4 qmail-smtpd 27347: data bytes received: 1327
@400000004048ed8e136a40c4 qmail-smtpd 27347: message temporarly not accepted because: 
mail server temporarily rejected message (#4.3.0)
@400000004048ed8e136dabc4 qmail-smtpd 27347: remote rset
@400000004048ed8e13720cdc qmail-smtpd 27347: quit, closing connection
@400000004048ed8e13730eac tcpserver: end 27347 status 0

My qscanq log shows:
@400000004048ed98150779ec cleanq: warning: unable to delete .: is a directory
@400000004048ed981508838c cleanq: warning: unable to delete ..: is a directory

however, the qscanq log seemed to have shown that when it was working as well.

running qscanq's rts.tests says:

Running run-cleanq as gqscanq...PASS
Running qscanq with test-virus...PASS
Running qscanq with good email...PASS

Curiously, when I tried using qmail-ldap 20040201, rts.tests returned a 71 
on the good email test.  When I ran it by hand, it only returned the 71 if 
stdout was redirected.  If I didn't redirect stdout, it did the right thing 
and returned 54.  This problem went away when I switched to 20040301a.

Also, I tried building qscanq 0.34 and it failed to build like this:

./load cleanq strerr.a error.a buffer.a str.a wait.a getopt.a 
cleanq.o(.text+0x185): In function `remove':
: undefined reference to `errno'
cleanq.o(.text+0x198): In function `remove':
: undefined reference to `errno'
cleanq.o(.text+0x50b): In function `main':
: undefined reference to `errno'
cleanq.o(.text+0x522): In function `main':
: undefined reference to `errno'
strerr.a(strerr_sys.o)(.text+0x7): In function `strerr_sysinit':
: undefined reference to `errno'

but I didn't pursue that since the 0.34 announcement downplayed the importance 
of the update.

Chris

-- 
Chris Garrigues                 http://www.DeepEddy.Com/~cwg/
Trinsic Solutions
1611-B West 6th Street
Austin, TX  78703-5074          512-322-0180

            If you don't apply what you've learned, you haven't 
               learned anything.


Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to