How about
:
Code:
# ldd /opt/zimbra/postfix/libexec/smtpd | grep sasl
libsasl2.so.2 => /opt/zimbra/cyrus-sasl/lib/libsasl2.so.2 (0x0000002a95a00000) Path to the socket is hard coded in SASL client libs (I think), and this will tell us if you are using the lib that came with Zimbra or not.
Infact the sure fire way to check this is to find a live "smtpd" process and pmap it.
Code:
# pmap 12314 | grep sasl2.so
0000002a95a00000 88K r-x-- /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/lib/libsasl2.so.2.0.21
0000002a95a16000 1024K ----- /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/lib/libsasl2.so.2.0.21
0000002a95b16000 4K rw--- /opt/zimbra/cyrus-sasl-2.1.21.ZIMBRA/lib/libsasl2.so.2.0.21