with USE="ldap", and emerging courier, maildrop does not have LDAP extensions. If I emerge just maildrop, it will have LDAP extensions. Reproducible: Always Steps to Reproduce: 1. 2. 3. I have edited the the courier ebuild, and modified it to be like the maildrop ebuild. After re-emerging, the maildrop application does now have LDAP extensions.
Do you mind sharing what you did?
no response from user, closing.
Error in courier-0.71.ebuild due to typo. '--enable-maildroldap' should be '--enable-maildropldap' or maybe '--enable-maildrop-ldap' Output of courier-config: prefix=/usr exec_prefix=/usr bindir=/usr/bin sbindir=/usr/sbin libexecdir=/usr/lib64/courier sysconfdir=/etc/courier datadir=/usr/share/courier localstatedir=/var/lib/courier mailuser=mail mailgroup=mail mailuid=8 mailgid=12 configure_args="'--build=x86_64-pc-linux-gnu' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--with-ldapconfig=/etc/courier/maildropldap.conf' '--with-fam' '--without-ipv6' '--with-ispell' '--with-ldapaliasd' '--enable-maildroldap' '--without-gnutls' '--enable-mimetypes=/etc/mime.types' '--prefix=/usr' '--disable-root-check' '--mandir=/usr/share/man' '--sysconfdir=/etc/courier' '--libexecdir=/usr/lib64/courier' '--datadir=/usr/share/courier' '--sharedstatedir=/var/lib/courier/com' '--localstatedir=/var/lib/courier' '--with-piddir=/var/run/courier' '--with-authdaemonvar=/var/lib/courier/authdaemon' '--with-mailuser=mail' '--with-mailgroup=mail' '--with-paranoid-smtpext' '--with-db=gdbm' '--disable-autorenamesent' '--cache-file=/var/tmp/portage/mail-mta/courier-0.71/work/courier-0.71/configuring.cache' '--host=x86_64-pc-linux-gnu' 'debug=true' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-mtune=generic -march=core2 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-mtune=generic -march=core2 -O2 -pipe' --enable-utf7-folder-encoding"
Actually I found this typo because maildrop won't use authlib to retrieve user info, which is needed because of ldap. sendmail and all other parts of courier do. Usage of the -a switch (mandatory use of authlib) is ignored. The existence of the switch and it not working suggests the possibility is there, but not compiled in. I've tried compiling with both '--enable-maildropldap' and '--enable-maildrop-ldap' and even with '--enable-authlib' added. In the emerge log I see none of them used or even a check. According to the man-page the default usage of authlib can be compiled in or can be optional, so there is some switch. I know little about compiling and I don't know, where to find available switches.
Look further at my threat on the forum: http://forums.gentoo.org/viewtopic-p-7519660.html#7519660