New Beta 4.58.7 -- Postfix fix

Julian Field MailScanner at ecs.soton.ac.uk
Tue Jan 30 09:53:01 UTC 2007


-----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.

Jens Richter wrote:
> Julian,
>
> I have 4.58.7 in place and it seems that I have a problem with KickMessage  to 
> access qmgr.
>
> /var/log/maillog:
>   
>> ...
>> Jan 30 10:13:27 fontane MailScanner[9412]: KickMessage failed as couldn't 
>> write to /qmgr, Keine Berechtigung 
>> ...
>>     
> (Fedora Core 6, postfix 2.3.3, spamassassin 3.1.7, bitdefender 7.1)
>   

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

wj8DBQFFvxWYEfZZRxQVtlQRAnjGAKCAkZLQTfHrjIpcWcP5WPiVmIw52gCguQKg
Itbc/7SZXxGBUikhT0h4Ccc=
=NWhK
-----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