Your message dated Fri, 28 Apr 2017 21:32:13 +0000
with message-id <e1d4dur-000bqo...@fasolo.debian.org>
and subject line Bug#859805: fixed in postfix 2.11.3-1+deb8u1
has caused the Debian Bug report #859805,
regarding postfix-ldap: unsupported dictionary type: ldap after upgrade
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 ow...@bugs.debian.org
immediately.)
--
859805: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=859805
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: postfix-ldap
Version: 3.1.4-4
Severity: grave
Justification: renders package unusable
Hi,
I just upgraded one of my system from jessie to strech. This system was using
postfix with ldap lookup table.
>From /var/log/dpkg.log, postfix-ldap has been upgraded from 2.11.3-1 to
3.1.4-4 on 2017-04-06
I just discovered that, after the upgrade, ldap was not working anymore. I
got in my log lots of such messages:
Apr 7 16:22:01 chaman postfix/pickup[25203]: 9711A1FD73: uid=104
from=<logcheck>
Apr 7 16:22:01 chaman postfix/cleanup[32362]: warning:
ldap:/etc/postfix/ldap-canonical.cf is unavailable. unsupported dictionary
type: ldap
Apr 7 16:22:01 chaman postfix/cleanup[32362]: warning:
ldap:/etc/postfix/ldap-canonical.cf lookup error for "XXX@YYY"
Apr 7 16:22:01 chaman postfix/cleanup[32362]: warning: 9711A1FD73:
canonical_maps map lookup problem for XXX@YYY -- message not accepted, try
again later
Apr 7 16:22:01 chaman postfix/pickup[25203]: warning: maildrop/3FACF20B26:
error writing 9711A1FD73: queue file write error
I manually fixes the problem by executing these commands:
# . /usr/share/postfix/postinst.functions
# delmap ldap
# addmap ldap
Etckeeper show me the differences:
root@chaman:/etc# git diff
diff --git a/postfix/dynamicmaps.cf b/postfix/dynamicmaps.cf
index d953c54..c3bac41 100644
--- a/postfix/dynamicmaps.cf
+++ b/postfix/dynamicmaps.cf
@@ -4,4 +4,4 @@
#==== ================================ ============= ============
tcp /usr/lib/postfix/dict_tcp.so dict_tcp_open
sqlite /usr/lib/postfix/dict_sqlite.so dict_sqlite_open
-ldap /usr/lib/postfix/dict_ldap.so dict_ldap_open
+ldap postfix-ldap.so dict_ldap_open
=> It seems that the postfix ldap plugin change its library name but the debian
configure script does not fix it. Reinstalling the package (apt-get install
--reinstall)
or reconfiguring it (dpkg-reconfigure) do not help. As I read 'addmap', the
dynamicmaps.cf file is not modified if 'ldap' is found in the first column
(even if the next informations are now wrong).
This bug needs to be fixed before the release, else postfix-ldap
would be unusable for any upgraded system.
Side note: it seems that this bug is larger. As shown before,
my dynamicmaps.cf also have two other entries (tcp and sqlite)
refering to non-existant files on my system:
# ls /usr/lib/postfix/
configure-instance.sh libpostfix-dns.so libpostfix-master.so
libpostfix-util.so postfix_groups.pl postfix-ldap.so.1.0.1
postfix-sqlite.so.1.0.1
libmilter.a libpostfix-global.so libpostfix-tls.so libxsasl.a
postfix-ldap.so postfix-sqlite.so sbin
/usr/lib/postfix/dict_sqlite.so should probably be replaced by postfix-sqlite.so
but I've no clues for /usr/lib/postfix/dict_tcp.so...
Regards
Vincent
-- System Information:
Debian Release: 9.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'unstable'), (500, 'testing'),
(200, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, mipsel
Kernel: Linux 4.7.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Source: postfix
Source-Version: 2.11.3-1+deb8u1
We believe that the bug you reported is fixed in the latest version of
postfix, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 859...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Scott Kitterman <sc...@kitterman.com> (supplier of updated postfix package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 24 Apr 2017 13:15:36 -0400
Source: postfix
Binary: postfix postfix-ldap postfix-cdb postfix-pcre postfix-mysql
postfix-pgsql postfix-dev postfix-doc
Architecture: source amd64 all
Version: 2.11.3-1+deb8u1
Distribution: stable
Urgency: medium
Maintainer: LaMont Jones <lam...@debian.org>
Changed-By: Scott Kitterman <sc...@kitterman.com>
Description:
postfix - High-performance mail transport agent
postfix-cdb - CDB map support for Postfix
postfix-dev - Loadable modules development environment for Postfix
postfix-doc - Documentation for Postfix
postfix-ldap - LDAP map support for Postfix
postfix-mysql - MySQL map support for Postfix
postfix-pcre - PCRE map support for Postfix
postfix-pgsql - PostgreSQL map support for Postfix
Closes: 859805
Changes:
postfix (2.11.3-1+deb8u1) stable; urgency=medium
.
* Add delmap to .prerm for all packages that contain map data types exposed
through external .so files so that upgrades to stretch (where the
associated files have moved) will be functional (Closes: #859805)
Checksums-Sha1:
2f1416c6eea25a1593fca783560089256d2a07ab 2487 postfix_2.11.3-1+deb8u1.dsc
b1f2a187c26b5d04ad9566fcc9edae1f194271e4 251954 postfix_2.11.3-1+deb8u1.diff.gz
e387fe49f76b0dc5af9741689e04536a2b63ddc9 1372594
postfix_2.11.3-1+deb8u1_amd64.deb
b218ab631a167d178e7ccbe73a8e953b080da57c 282838
postfix-ldap_2.11.3-1+deb8u1_amd64.deb
fccfaf86f41b03ea143239484d9a369bd3051ae7 275034
postfix-cdb_2.11.3-1+deb8u1_amd64.deb
eddea2ee44867ed23df4f8095ab1e72d46696ba5 276926
postfix-pcre_2.11.3-1+deb8u1_amd64.deb
25dd6c6404a191d93839d6e5578c132e18705702 276776
postfix-mysql_2.11.3-1+deb8u1_amd64.deb
9451157aefccd16730264eefb0c75264f4d89246 276620
postfix-pgsql_2.11.3-1+deb8u1_amd64.deb
59b2ddc4ef6ca050063b3df4d6be7e55aa6b9c08 371918
postfix-dev_2.11.3-1+deb8u1_all.deb
16a71ee79bb7c6e4a045b8647a9e36115a5bf02a 1079484
postfix-doc_2.11.3-1+deb8u1_all.deb
Checksums-Sha256:
40143995f743c5c13e0ad8d17e688121892795108b096feb39ebcf6b68a48592 2487
postfix_2.11.3-1+deb8u1.dsc
df43833c6fb84e1c66e873e896eba6ff55c7ed78cccf60183298a8c8af0add9f 251954
postfix_2.11.3-1+deb8u1.diff.gz
3fac3c8821bdbdcf769ce4873a50c5b28ae8c719c8eb543bec2dd56485245563 1372594
postfix_2.11.3-1+deb8u1_amd64.deb
251ef03ddcd55f17be569665eb513e3b90a568d0974c5b14e46a55526507a639 282838
postfix-ldap_2.11.3-1+deb8u1_amd64.deb
1d53ca2cde0ce7c6625b3c066ceee8c5a6fc6a230bce342f7bb27cf2759deaf7 275034
postfix-cdb_2.11.3-1+deb8u1_amd64.deb
9cf0f8305fac2be5b6d06304637f7e5e6d494c96639c21f1d22c8d20cdc441c5 276926
postfix-pcre_2.11.3-1+deb8u1_amd64.deb
635a85270795035b0b46a872a734285b740773468a87c7d475f80c95aaf70eda 276776
postfix-mysql_2.11.3-1+deb8u1_amd64.deb
d26655f7f774b4ba2fe93a4a93babe355d3ee69361768a532193208a0444c64d 276620
postfix-pgsql_2.11.3-1+deb8u1_amd64.deb
f5fd425b740cd68a9c3b19e14f18ae10f9b0e5078a979b2fbc8de6ccb8ba0b97 371918
postfix-dev_2.11.3-1+deb8u1_all.deb
9caaea26ebed5e44a8f0d52509868d54a62aa8337f38a448d7fa7d1e5e46d585 1079484
postfix-doc_2.11.3-1+deb8u1_all.deb
Files:
9dfa9c9054b200407a4d3eb08bbbdb19 2487 mail extra postfix_2.11.3-1+deb8u1.dsc
b66de9451ea69a9e2e48904987776a7e 251954 mail extra
postfix_2.11.3-1+deb8u1.diff.gz
44146b9ffd61d4cfa8fe7a4981b68da1 1372594 mail extra
postfix_2.11.3-1+deb8u1_amd64.deb
f8a4ad074a522610e52805ea48da4ae0 282838 mail extra
postfix-ldap_2.11.3-1+deb8u1_amd64.deb
0954ac5b7a6440a29849642d279baeea 275034 mail extra
postfix-cdb_2.11.3-1+deb8u1_amd64.deb
05ae1526812d1074be1c75fd99498c93 276926 mail extra
postfix-pcre_2.11.3-1+deb8u1_amd64.deb
65ffd95c8b911137ce7e1fc954b0d780 276776 mail extra
postfix-mysql_2.11.3-1+deb8u1_amd64.deb
605160302d2639614314923f162a41ea 276620 mail extra
postfix-pgsql_2.11.3-1+deb8u1_amd64.deb
4e60580d1e620698a62ed71ab72688aa 371918 devel extra
postfix-dev_2.11.3-1+deb8u1_all.deb
56330378e9efbf854cc72329a024fc51 1079484 doc extra
postfix-doc_2.11.3-1+deb8u1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJZA4QKAAoJEHjX3vua1ZrxdcEQAKGLRflbRt2bjwU2eb7m3jba
nhMkMvQR/fsgmF2UxwhqNxYtQPoYf8UgwsKH+X6lnUBLDcDS7IWIYA9PxdH3xX0d
dJn42N0TymFLo1sEcB7vj70LFrhqgzUxfpk05zlK/aBJdT/waRbYOXY3u6A+ED6s
W2+C8IQxL3M8rAC39rMwFeTcnADUcle+MLyBoSnhdQKNtJ3z1NPgXBuhujSSdQFH
AQwMB2wjfZz6PBiuLckTIHVjPW2FRj6KAWlC1GQ/Ju27UhTHHaK2W6LOYSx3524u
2H0mFH7+ae2AN1woU/G2O8lK1waggElxt6sqEEz2FeF5nvaNfEaIUAH3JTLFH1RW
M9qMfRttQs493aQDUFmu8/cIq9zPbQ/34KrkB8tqvCCMnA/U7K21+RNI23Q1EL2R
lhxFYOVIE5nmyFCrM1zugPy9yFFXCXve+E3f2FJm9cFF5Zg6wwdAO6HlTBJtY/er
d+Pe+Ywq4nzykJ9yEYs/u1gY+pg7NmgkgqADBZD/0zwm+F/NeeyA+MEYs3HldpYx
qWjnG6NMU8MWgnLpHu/boh1d3e5gnsiU33lPwfePazYRfZF/IZHQlQi9kTD1OxRE
Xu/F+DEWFF2hTOyzqDouTP2Lu0QKHuAHBpp9B2VSzC7VKnm709xFmId0S5LZne2i
ZQTQzkiKGaaNbuDkeCUv
=ZAtK
-----END PGP SIGNATURE-----
--- End Message ---