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]



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to