MailScanner+PostFix ---- try this
Julian Field
mailscanner at ecs.soton.ac.uk
Thu Sep 4 11:44:59 IST 2003
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";
At 09:18 04/09/2003, you wrote:
>At 23:51 03/09/2003, you wrote:
>>On Sun, 31 Aug 2003 11:19:35 +0100
>>Julian Field <mailscanner at ECS.SOTON.AC.UK> wrote:
>>
>> > I would advise you look at Exim instead. Due to the structure of
>> > Postfix, MailScanner has to do a heck of a lot more i/o than it does
>> > when working with sendmail or Exim, so it's not very efficient. The
>> > body of every message has to be copied between queues, as opposed to
>> > just linked and deleted as it does with sendmail and Exim.
>> >
>> > Postfix has a (deservedly) good reputation, it's just that its
>> > internal design doesn't fit with MailScanner very well.
>>
>>Is it fair to say that the duplicate mail problem with Postfix is
>>unlikely to be resolved in the near future?
>
>It's going to take a fair bit of analysis to find what's wrong, and I don't
>have *any* free time at the moment, my day job
>(http://www.ecs.soton.ac.uk/~jkf/myjob.html) is really hectic at the moment
>as we get everything organised for the students' arrival in a few weeks time.
>
>Maybe some time in October I might have time.
>
>> Don't get me wrong, I'm not
>>knocking either MS or Postfix, I just want to know! I use Postfix on a
>>number of installations and I think I'm faced with the choice of:
>>
>>a) migrating to, say, exim or
>>b) putting up with the duplicate mails
>
>--
>Julian Field
>www.MailScanner.info
>MailScanner thanks transtec Computers for their support
--
Julian Field
www.MailScanner.info
MailScanner thanks transtec Computers for their support
More information about the MailScanner
mailing list