MailScanner+PostFix ---- try this

Julian Field mailscanner at ecs.soton.ac.uk
Fri Sep 5 08:46:03 IST 2003


All it made happen was that it wouldn't process a message until it had sat
in the deferred queue for 3 seconds, it should still process them all but
with a 3 second latency. Try reducing the 3 to 1 and see if that helps at all.

At 21:54 04/09/2003, you wrote:

>For me this seemed to cause lots of messages to get stuck in the
>incoming deferred queue.  There would be 200 or so messages in the
>queue, but Mailscanner would only process 1 or 2 messages in each batch.
>Once I removed the patch, it immediately processed all of the queued
>messages in batches of 30.
>
>
>Howard
>
>
>-----Original Message-----
>From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
>Sent: Thursday, September 04, 2003 6:45 AM
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: MailScanner+PostFix ---- try this
>
>
>Here's a patch to Postfix.pm. I know it's not exactly a neat solution to
>the problem, but if it fixes it I will know I have found the problem.
>
>--- Postfix.pm.old      2003-09-01 12:28:21.000000000 +0100
>+++ Postfix.pm  2003-09-04 11:49:17.000000000 +0100
>@@ -1132,6 +1132,9 @@
>         #print STDERR "Files are " . join(', ', @SortedFiles) . "\n";
>         while(defined($file = shift @SortedFiles) &&
>               $HitLimit1+$HitLimit2+$HitLimit3+$HitLimit4<1) {
>+        # Yes I know this is a hack but it will help isolate the
>problem
>+        next if $ModDate{$file} > time-3;
>+
>           # must separate next two lines or $1 gets re-tainted by being
>part of
>           # same expression as $file [mumble mumble grrr mumble mumble]
>           #print STDERR "Reading file $file from list\n";
>

--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support



More information about the MailScanner mailing list