X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.h;h=87036a44c6309ef895cc6b3e2bae161990c5c5bb;hp=de6c9dca6907150bcb2cf80ac5586149cddeb13a;hb=9947a86824157580c28e92cc5e0691a9c3c8b8a8;hpb=7480539010bab6905c944b11b036492a1a625994 diff --git a/init.h b/init.h index de6c9dc..87036a4 100644 --- a/init.h +++ b/init.h @@ -939,6 +939,14 @@ struct option_t MuttVars[] = { ** the previous methods are unavailable. If a method is available but ** authentication fails, Mutt-ng will not connect to the IMAP server. */ + { "imap_check_subscribed", DT_BOOL, R_NONE, OPTIMAPCHECKSUBSCRIBED, 0 }, + /* + ** .pp + ** When \fIset\fP, mutt will fetch the set of subscribed folders from + ** your server on connection, and add them to the set of mailboxes + ** it polls for new mail. See also the ``$mailboxes'' command. + */ + {"imap_delim_chars", DT_STR, R_NONE, UL &ImapDelimChars, UL "/."}, /* ** .pp @@ -949,17 +957,6 @@ struct option_t MuttVars[] = { ** as folder separators for displaying IMAP paths. In particular it ** helps in using the '\fT=\fP' shortcut for your $$folder variable. */ -# if defined(USE_SSL) || defined(USE_GNUTLS) - {"imap_force_ssl", DT_BOOL, R_NONE, OPTIMAPFORCESSL, 0}, - /* - ** .pp - ** Availability: IMAP and SSL or IMAP and GNUTLS - ** - ** .pp - ** If this variable is \fIset\fP, Mutt-ng will always use SSL when - ** connecting to IMAP servers. - */ -# endif {"imap_headers", DT_STR, R_INDEX, UL &ImapHeaders, UL 0}, /* ** .pp @@ -1269,7 +1266,7 @@ struct option_t MuttVars[] = { ** \fBDON'T CHANGE THIS SETTING UNLESS YOU ARE REALLY SURE WHAT YOU ARE ** DOING!\fP */ -#if USE_HCACHE +#ifdef USE_HCACHE {"header_cache", DT_PATH, R_NONE, UL &HeaderCache, 0}, /* @@ -2391,6 +2388,20 @@ struct option_t MuttVars[] = { ** Defaults to 25, the standard SMTP port, but RFC 2476-compliant SMTP ** servers will probably desire 587, the mail submission port. */ + {"smtp_use_tls", DT_STR, R_NONE, UL &SmtpUseTLS, 0}, + /* + ** .pp + ** Availability: SMTP (and SSL) + ** + ** .pp + ** Defines wether to use STARTTLS. If this option is set to ``\fIrequired\fP'' + ** and the server does not support STARTTLS or there is an error in the + ** TLS Handshake, the connection will fail. Setting this to ``\fIenabled\fP'' + ** will try to start TLS and continue without TLS in case of an error. + ** + **.pp + ** Muttng still needs to have SSL support enabled in order to use it. + */ #endif #if defined(USE_SSL) || defined(USE_GNUTLS) #ifdef USE_SSL @@ -2403,8 +2414,16 @@ struct option_t MuttVars[] = { ** The file containing a client certificate and its associated private ** key. */ -#endif -# if defined(USE_SSL)||defined(USE_GNUTLS) +#endif /* USE_SSL */ + {"ssl_force_tls", DT_BOOL, R_NONE, OPTSSLFORCETLS, 0 }, + /* + ** .pp + ** If this variable is \fIset\fP, mutt-ng will require that all connections + ** to remote servers be encrypted. Furthermore it will attempt to + ** negotiate TLS even if the server does not advertise the capability, + ** since it would otherwise have to abort the connection anyway. This + ** option supersedes ``$$ssl_starttls''. + */ {"ssl_starttls", DT_QUAD, R_NONE, OPT_SSLSTARTTLS, M_YES}, /* ** .pp @@ -2415,7 +2434,6 @@ struct option_t MuttVars[] = { ** advertising the capability. When \fIunset\fP, Mutt-ng will not attempt to ** use STARTTLS regardless of the server's capabilities. */ -# endif {"certificate_file", DT_PATH, R_NONE, UL &SslCertFile, UL "~/.mutt_certificates"}, /* ** .pp @@ -2463,7 +2481,7 @@ struct option_t MuttVars[] = { ** This variables specifies whether to attempt to use SSLv2 in the ** SSL authentication process. */ -# endif +# endif /* _MAKEDOC || !USE_GNUTLS */ {"ssl_use_sslv3", DT_BOOL, R_NONE, OPTSSLV3, 1}, /* ** .pp @@ -2482,7 +2500,7 @@ struct option_t MuttVars[] = { ** This variables specifies whether to attempt to use TLSv1 in the ** SSL authentication process. */ -#ifdef USE_GNUTLS +# ifdef USE_GNUTLS {"ssl_min_dh_prime_bits", DT_NUM, R_NONE, UL &SslDHPrimeBits, 0}, /* ** .pp @@ -2502,8 +2520,8 @@ struct option_t MuttVars[] = { ** .pp ** Example: \fTset ssl_ca_certificates_file=/etc/ssl/certs/ca-certificates.crt\fP */ -#endif -#endif +# endif /* USE_GNUTLS */ +# endif /* USE_SSL || USE_GNUTLS */ {"pipe_split", DT_BOOL, R_NONE, OPTPIPESPLIT, 0}, /* ** .pp