Re: ssl_starttls unknown variable

2022-03-17 Thread Christoph Klassen



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



Re: ssl_starttls unknown variable

2022-03-17 Thread Kevin J. McCarthy

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?


(On a different topic, if you use the built-in SMTP, you'll also want to 
enable SASL at build time, to support authentication).


--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: ssl_starttls unknown variable

2022-03-17 Thread Christoph Klassen



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

2022-03-17 Thread Kevin J. McCarthy

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?


What does 'mutt -v | grep SSL' output?

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA


signature.asc
Description: PGP signature


Re: ssl_starttls unknown variable

2022-03-17 Thread Claus Assmann
Maybe a basic check first:

mutt -v | fgrep '+USE_SSL_GNUTLS'

Does it show what you configured?


Re: ssl_starttls unknown variable

2022-03-17 Thread Patrick Shanahan
* Christoph Klassen  [03-17-22 12:57]:
> 
> 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"

the man page for muttrc indicates
  set ssl_starttls=yes

I do not have it set in ~/.muttrc as checking inside mutt,
  :set ?ssl_starttls

  shows   ssl_starttls=yes

and the man page:
  ssl_starttls
  Type: quadoption
  Default: yes
  
defaults to on/yes

  
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc
What sort of day was it?  A day like all days, filled with 
those events that alter and illuminate our times... 


Re: ssl_starttls unknown variable

2022-03-17 Thread Christoph Klassen



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

2022-03-17 Thread Patrick Shanahan
* Patrick Shanahan  [03-17-22 12:41]:
> * Christoph Klassen  [03-17-22 11:37]:
> > 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.
> 
> man muttrc
> look for starttls
> 
> or in mutt, type follow
>   :
>   set ssl_starttls=yes
>   set ?ssl_starttls

err, brain fart

shouldbe

:set ssl_starttls=yes
:set ?ssl_starttls


-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc
What sort of day was it?  A day like all days, filled with 
those events that alter and illuminate our times... 


Re: ssl_starttls unknown variable

2022-03-17 Thread Patrick Shanahan
* Christoph Klassen  [03-17-22 11:37]:
> 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.

man muttrc
look for starttls

or in mutt, type follow
  :
  set ssl_starttls=yes
  set ?ssl_starttls

  
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet oftc
What sort of day was it?  A day like all days, filled with 
those events that alter and illuminate our times... 


ssl_starttls unknown variable

2022-03-17 Thread Christoph Klassen

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