On Sat, Apr 20, 2002 at 06:14:56PM +0200, Nerijus Baliunas wrote:
> Hello,
>
> I sent 3 MB size file named 'asdfg'. qmail-queue.log shows that message was
>delivered 2 times,
> but recipient got only one. If qmail delivered only message of 2nd attempt, why
>qmail-scanner
> scanned message of 1st attempt (it probably timeouted and was not fully received
>from remote
> smtp server)?
Oww - try wrapping your text...
What looks like happened is that the first time, your scanner took "too
long" to scan the message. As such, the remote client DROPPED the
connection. Then after the scanner finished, it saw there was no recipient
(g_e_h: no sender and no recips), so "knew" the SMTP client had dropped off,
so dropped the message without delivering it (as it should). The second
time, it ran quicker (for whatever reason), and it all worked.
Why did it take so long? Well from what I can see from your logs (good
detail - thanks), you've got a AMD 1200 - so CPU can't be the limiting
issue. The SMTP client address was 192.168... - so I guess it's on the same
Ethernet as the server - so network performance shouldn't be the issue
either. The scanner claims it took 1 sec to complete - so that leaves
reformime or other perl parts.
Those parts have no bugs as far as I'm aware, so I'm afraid you've got a job
to find the cause. I certainly have not seen that behaviour before.
I'd suggest changing the debug statement to:
sub debug {
print LOG "$nowtime:$$:[",time,"]:",@_,"\n" if ($DEBUG);
}
so that you can see the current time in each debug record. Then ensure there
are calls to debug at the beginning and end of each section you want to
monitor (esp: the AV scanner - I don't trust it saying "1 sec"! ;-)
Good luck
--
Cheers
Jason Haar
Information Security Manager
Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general