New Beta 4.58.7 -- Postfix fix
Glenn Steen
glenn.steen at gmail.com
Tue Jan 30 12:09:00 UTC 2007
On 30/01/07, Julian Field <MailScanner at ecs.soton.ac.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> In Postfix.pm you will find "sub KickMessage". Replace the whole of that
> function with
>
> sub KickMessage {
> my($queue2ids) = @_;
> my($queue);
>
> # Do a kick for every queue that contains some message ids
> foreach $queue (keys %$queue2ids) {
> next unless $queue2ids->{$queue};
>
> # Using the spool directory with the last element chopped off,
> # find the public directory wth the qmgr FIFO in it. Send an I
> # to that FIFO.
> my $public = $queue;
> $public =~ s/[^\/]+$/public/;
> #next unless $public; # Sanity checking!
> my $fh = new FileHandle;
> $fh->open(">$public/qmgr") or
> MailScanner::Log::WarnLog("KickMessage failed as couldn't write
> to " .
> "%s, %s", "$public/qmgr", $!);
> print $fh "I";
> $fh->close;
> }
> return 0;
> }
>
>
> and then let me know how you get on.
>
As said, that takes care of the "non-kicking" in Postfix. Still god to
go for Thursday?
Cheers
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se
More information about the MailScanner-Beta
mailing list