Package: postfixadmin
Version: 2.3.5-2
Severity: minor
Tags: patch

Hi Norman,

Whezzy comes with Dovecot 2.1.
So there is no binary named dovecotpw anymore. Everything has moved into
doveadm pw.
The var "dovecotpw" in config.inc.php should be per default
"/usr/bin/doveadm pw" instead of "/usr/sbin/dovecotpw".

If not users which are upgrading from Squeeze to Wheezy will not be able
to access postfixadmin anymore.

I try to include a patch file.
Has to figure out how that works.

Cheers,
Flo

-- System Information:
Debian Release: 7.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages postfixadmin depends on:
ii  apache2                          2.2.22-13
ii  apache2-mpm-prefork [httpd]      2.2.22-13
ii  dbconfig-common                  1.8.47+nmu1
ii  debconf                          1.5.49
ii  libapache2-mod-php5              5.4.4-14
ii  mysql-client                     5.5.30+dfsg-1.1
ii  mysql-client-5.5 [mysql-client]  5.5.30+dfsg-1.1
ii  php5                             5.4.4-14
ii  php5-imap                        5.4.4-14
ii  php5-mysql                       5.4.4-14
ii  wwwconfig-common                 0.2.2

Versions of packages postfixadmin recommends:
ii  mysql-server   5.5.30+dfsg-1.1
ii  postfix-mysql  2.9.6-2

Versions of packages postfixadmin suggests:
ii  dovecot-common                 1:2.1.7-7
ii  dovecot-core [dovecot-common]  1:2.1.7-7

-- Configuration Files:
/etc/postfixadmin/apache.conf changed [not included]
/etc/postfixadmin/config.inc.php changed [not included]

-- debconf information:
  postfixadmin/remote/newhost:
  postfixadmin/pgsql/method: unix socket
  postfixadmin/db/app-user:
  postfixadmin/purge: false
* postfixadmin/reconfigure-webserver: apache2
  postfixadmin/remote/port:
  postfixadmin/pgsql/changeconf: false
* postfixadmin/dbconfig-install: false
  postfixadmin/database-type:
  postfixadmin/internal/reconfiguring: false
  postfixadmin/remote/host:
  postfixadmin/upgrade-error: abort
  postfixadmin/missing-db-package-error: abort
  postfixadmin/upgrade-backup: true
  postfixadmin/pgsql/authmethod-user:
  postfixadmin/mysql/admin-user: root
  postfixadmin/dbconfig-remove:
  postfixadmin/remove-error: abort
  postfixadmin/db/basepath:
  postfixadmin/passwords-do-not-match:
  postfixadmin/db/dbname:
  postfixadmin/install-error: abort
  postfixadmin/pgsql/no-empty-passwords:
  postfixadmin/dbconfig-reinstall: false
  postfixadmin/internal/skip-preseed: true
  postfixadmin/pgsql/admin-user: postgres
  postfixadmin/pgsql/authmethod-admin: ident
  postfixadmin/dbconfig-upgrade: true
  postfixadmin/mysql/method: unix socket
  postfixadmin/pgsql/manualconf:
>From 25b3a18e7efd1d1e169ec06882dfe14a139e4656 Mon Sep 17 00:00:00 2001
From: Florian Pelgrim <florian.pelg...@craneworks.de>
Date: Fri, 3 May 2013 15:26:53 +0200
Subject: [PATCH] Dovecot2.x has no binary /usr/sbin/dovecotpw. All functions
 are migrated to /usr/bin/doveadm pw.

---
 config.inc.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.inc.php b/config.inc.php
index e41e7c3..86d389d 100644
--- a/config.inc.php
+++ b/config.inc.php
@@ -106,7 +106,7 @@ $CONF['encrypt'] = 'md5crypt';
 $CONF['authlib_default_flavor'] = 'md5raw';
 
 // If you use the dovecot encryption method: where is the dovecotpw binary located?
-$CONF['dovecotpw'] = "/usr/sbin/dovecotpw";
+$CONF['dovecotpw'] = "/usr/bin/doveadm pw";
 
 // Minimum length required for passwords. Postfixadmin will not
 // allow users to set passwords which are shorter than this value.
-- 
1.7.10.4

Reply via email to