Your message dated Thu, 14 Jul 2016 01:31:40 -0400
with message-id <1897585.YfWKb8Udl9@kitterma-e6430>
and subject line Fixed long ago
has caused the Debian Bug report #560051,
regarding patched postfix-script does not take care of postmulti strategy : 
postfix-script, postfix-post-install, postfix-files move to /usr/lib/postfix
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
560051: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=560051
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: postfix
Version: 2.6.5-3


Hello world,


===== description of the problem

I've just try to set up postfix with multi-instance, so I make a fresh install of postfix 2.6.5-3 from squeeze.

  Then, I create a new instance with :

  postmulti -e init
  postmulti -I postfix-out -G mta -e create

  All the instance files are created correctly :

  /etc/postfix-out/...
  /var/lib/postfix-out/...
  /var/spool/postfix-out/...


  So, I try to check the new configuration with :

  postfix check

  and then I have the error :

/usr/lib/postfix/postfix-script: line 254: /etc/postfix-out/postfix-script: No such file or directory


===== explications and workaround

After reading some changelogs, code and patches it seems than the postfix version 2.6.5-3 patched by Debian makes an error when patching original source file : ./conf/postfix-script

In the "check-fatal", the call script is "$config_directory/postfix-script quick-check" whereas, to take care of multi-instance, it must be "$daemon_directory/postfix-script quick-check".

In another hand, I think the problem is the same in "quick-start" : "$config_directory/postfix-script quick-check" needs to be replaced by "$daemon_directory/postfix-script quick-check".


  Please see the attached patch for details.



===== patch

--- postfix-script.orig 2009-12-08 09:25:55.000000000 -0600
+++ postfix-script      2009-12-08 09:27:22.000000000 -0600
@@ -119,7 +119,7 @@
                $FATAL the Postfix mail system is already running
                exit 1
        }
-       $config_directory/postfix-script quick-check || {
+       $daemon_directory/postfix-script quick-check || {
                $FATAL Postfix integrity check failed!
                exit 1
        }
@@ -251,7 +251,7 @@
 check-fatal)
        # This command is NOT part of the public interface.

-       $config_directory/postfix-script quick-check
+       $daemon_directory/postfix-script quick-check

        # See if all queue files are in the right place. This is slow.
        # We must scan all queues for mis-named queue files before the



=====

  Do you confirm the bug ?
  I remain available to help you correct this problem.

  Best regards.
  Alex.


--
Alexandre SIMON
Cellule (R)éseau StanNet/Lothaire

C.I.R.I.L.            | Perm. réseau : +33 (0)3.83.68.24.24
Château du Montet     | Tél.  direct : +33 (0)3.83.68.24.32
Rue du Doyen Roubault | Fax          : +33 (0)3.83.68.24.01
F - 54500 VANDOEUVRE  | Email        : [email protected]



--- End Message ---
--- Begin Message ---
X-CrossAssassin-Score: 64024

--- End Message ---

Reply via email to