ssl_starttls unknown variable
Hello! I built mutt after configuring it with ./configure --enable-gpgme --enable-imap --enable-sidebar --enable-smtp --with-gnutls In the muttrc I wanted to set ssl_starttls to yes but as the subject reveals it's an unknown variable to mutt. Can you please help me to fix this error? I used a search engine but couldn't find anything useful. Greetings, Christoph -- Christoph Klassen | https://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter
Re: ssl_starttls unknown variable
On 3/17/22 17:45, Patrick Shanahan wrote: shouldbe :set ssl_starttls=yes :set ?ssl_starttls That's what I configured in muttrc. But when I start mutt I get: "Error in /home/mint/.muttrc, line 9: ssl_starttls: unknown variable" -- Christoph Klassen | https://www.intevation.de/ Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998 Geschäftsführer: Frank Koormann, Bernhard Reiter
Re: ssl_starttls unknown variable
On 3/17/22 18:22, Claus Assmann wrote: Maybe a basic check first: mutt -v | fgrep '+USE_SSL_GNUTLS' Does it show what you configured? The result of that command is empty. On 3/17/22 18:22, Kevin J. McCarthy wrote: On Thu, Mar 17, 2022 at 05:56:19PM +0100, Christoph Klassen wrote: On 3/17/22 17:45, Patrick Shanahan wrote: shouldbe :set ssl_starttls=yes :set ?ssl_starttls That's what I configured in muttrc. But when I start mutt I get: "Error in /home/mint/.muttrc, line 9: ssl_starttls: unknown variable" In the source directory you built in, what does 'grep USE_SSL config.h' output? That's the output: #define USE_SSL 1 /* #undef USE_SSL_GNUTLS */ #define USE_SSL_OPENSSL 1 What does 'mutt -v | grep SSL' output? -USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL -USE_GSASL -USE_GSS +HAVE_GETADDRINFO
Re: ssl_starttls unknown variable
On 3/17/22 18:42, Kevin J. McCarthy wrote: On Thu, Mar 17, 2022 at 06:34:30PM +0100, Christoph Klassen wrote: On 3/17/22 18:22, Kevin J. McCarthy wrote: In the source directory you built in, what does 'grep USE_SSL config.h' output? That's the output: #define USE_SSL 1 /* #undef USE_SSL_GNUTLS */ #define USE_SSL_OPENSSL 1 That would indicate it was configured with OpenSSL, and should support $ssl_starttls. However: What does 'mutt -v | grep SSL' output? -USE_SSL_OPENSSL -USE_SSL_GNUTLS -USE_SASL -USE_GSASL -USE_GSS +HAVE_GETADDRINFO That doesn't line up with the build directory configuration. Here, the first two words indicate both OpenSSL and GnuTLS were disabled at build time. Is it possible you are invoking a different mutt binary in your search path? Thanks for asking this! I installed mutt with the package manager before. It seems that that caused the problem. (On a different topic, if you use the built-in SMTP, you'll also want to enable SASL at build time, to support authentication). Thanks for giving me that hint. I don't know what I need and wanted to try mutt by trial and error. Greetings, Christoph