New Beta 4.58.7 -- Postfix fix
Julian Field
MailScanner at ecs.soton.ac.uk
Tue Jan 30 12:14:06 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Glenn Steen wrote:
> 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?
I'm content that it works with sendmail and Postfix.
Need testing on Exim now, then I'm prepared to go for it.
Don't have to worry about ZMailer as that is intelligent enough to
realise new mail files have appeared in its queues and therefore doesn't
need to be told anything.
Exim testers please?
>
> Cheers
Jules
- --
Julian Field MEng CITP
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.5.3 (Build 5003)
Comment: (pgp-secured)
Charset: ISO-8859-1
wj8DBQFFvzaVEfZZRxQVtlQRAhw/AKDYkwZC+4KKLfVRVFVuIM9thuPxzwCdEtsK
H2kC4zV+Ja38dJi0pmNNL6w=
=VHEY
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner-Beta
mailing list