On 2018-10-24, Markus Rosjat <[email protected]> wrote: > Hi there, > > it seems to get sasl working with ldap is a lifetime task. Sad thing I > had it working but only after adding/deleting packages of the specific > versions of cyrus-sasl and I dont know which you really need to get it > working in a "clean" setup. So to all the people out there who are > running service like sendmail, courier with openldap and sasl could you > point to the proper package to use or do in need to really install one > package then replace it with another so that just the proper libs are > present somewere on the system (this seems kind bad)? And docs on > cyrus-sasl are a big fk^ in my opinion but thats another story.
I'm not using sendmail+courier here but as a "1-line" install command it looks like you'd probably want something like pkg_add courier-authlib-ldap courier-imap cyrus-sasl--ldap sendmail--ldap-sasl (The package names above including "--" select one of various flavours; if you leave it out you would usually get to choose from a list presented instead. The names like "courier-authlib-ldap" are modular packages or "multipackages" where the extra support is added by pluggable modules For dovecot and postfix you'd want "pkg_add dovecot-ldap postfix--ldap"; dovecot has its own sasl implementation which is also supported by postfix, config is easier than with cyrus-sasl.

