On 29Dec2017 00:21, DGSJ <[email protected]> wrote:
Hello,I'm building mutt-1.9.2 from source, and I'm having a problem with sasl in the ./configure stage: ./configure --prefix=/usr --enable-imap --enable-smtp --enable-debug \ --with-ssl --with-gnutls --with-sasl SENDMAIL="/usr/local/bin/msmtp" And this is the error: checking whether SSL_set_mode is declared... yes checking whether SSL_MODE_AUTO_RETRY is declared... yes checking whether X509_V_FLAG_PARTIAL_CHAIN is declared... yes checking for library containing sasl_encode64... no configure: error: could not find sasl lib but, I have already installed sasl, both GNU SASL an Cyrus sasl. root [ /home/daniel ]# ldconfig -p | grep sasl libsasl2.so.2 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libsasl2.so.2 libgsasl.so.7 (libc6,x86-64) => /usr/lib/libgsasl.so.7 libgsasl.so (libc6,x86-64) => /usr/lib/libgsasl.so
Often the library header files etc required for compilation are in separate packages, eg a libsasl package and a libsasl-devel package. What's your platform and what sasl package does it have installed?
When I try to send a mail, mutt displays this error. -- Mutt: Compose [Approx. msg size: 0.1K Atts: 1]------------------- SMTP authentication requires SASL
Yes, built without SASL, so no support regardless of the library being present.
It it interesting to note that my SENDMAIL goes fine. I can send mails with msmtp from the console:
And did it come from a package, or did you build it? [...]
Another interesting thing is that although mutt doesn't finally send the mail, msmtp reports it as sent. I mean that in the sent file of msmtp you can find:
The tail of your message from this point seems to be missing. Cheers, Cameron Simpson <[email protected]> (formerly [email protected])
