42 "Shell command to retrieve account credentials"
45 "(socket) External command to run prior to opening a socket"
47 {
"socket_timeout",
DT_NUMBER, 30, 0, NULL,
48 "Timeout for socket connect/read/write operations (-1 to wait indefinitely)"
51 "Shell command to establish a tunnel"
53 {
"tunnel_is_secure",
DT_BOOL,
true, 0, NULL,
54 "Assume a tunneled connection is secure"
57 {
"connect_timeout",
DT_SYNONYM,
IP "socket_timeout",
IP "2023-02-15" },
69 "File containing trusted certificates"
72 "Ciphers to use when using SSL"
75 "File containing client certificates"
77 {
"ssl_force_tls",
DT_BOOL,
true, 0, NULL,
78 "(ssl) Require TLS encryption for all connections"
81 "(ssl) Use STARTTLS on servers advertising the capability"
83 {
"ssl_use_sslv3",
DT_BOOL,
false, 0, NULL,
84 "(ssl) INSECURE: Use SSLv3 for authentication"
86 {
"ssl_use_tlsv1",
DT_BOOL,
false, 0, NULL,
87 "(ssl) Use TLSv1 for authentication"
89 {
"ssl_use_tlsv1_1",
DT_BOOL,
false, 0, NULL,
90 "(ssl) Use TLSv1.1 for authentication"
92 {
"ssl_use_tlsv1_2",
DT_BOOL,
true, 0, NULL,
93 "(ssl) Use TLSv1.2 for authentication"
95 {
"ssl_use_tlsv1_3",
DT_BOOL,
true, 0, NULL,
96 "(ssl) Use TLSv1.3 for authentication"
98 {
"ssl_verify_dates",
DT_BOOL,
true, 0, NULL,
99 "(ssl) Verify the dates on the server certificate"
101 {
"ssl_verify_host",
DT_BOOL,
true, 0, NULL,
102 "(ssl) Verify the server's hostname against the certificate"
109#if defined(USE_SSL_GNUTLS)
116 "File containing trusted CA certificates"
119 "Minimum keysize for Diffie-Hellman key exchange"
126#if defined(USE_SSL_OPENSSL)
133 "(ssl) File/device containing random data to initialise SSL"
135 {
"ssl_use_sslv2",
DT_BOOL,
false, 0, NULL,
136 "(ssl) INSECURE: Use SSLv2 for authentication"
138 {
"ssl_use_system_certs",
DT_BOOL,
true, 0, NULL,
139 "(ssl) Use CA certificates in the system-wide store"
141 {
"ssl_usesystemcerts",
DT_SYNONYM,
IP "ssl_use_system_certs",
IP "2021-02-11" },
147#if defined(HAVE_SSL_PARTIAL_CHAIN)
153 {
"ssl_verify_partial_chains",
DT_BOOL,
false, 0, NULL,
154 "(ssl) Allow verification using partial certificate chains"
161#if defined(HAVE_GETADDRINFO)
167 {
"use_ipv6",
DT_BOOL,
true, 0, NULL,
168 "Lookup IPv6 addresses when making connections"
186#if defined(USE_SSL_GNUTLS)
190#if defined(USE_SSL_OPENSSL)
194#if defined(HAVE_SSL_PARTIAL_CHAIN)
198#if defined(HAVE_GETADDRINFO)
Convenience wrapper for the config headers.
bool cs_register_variables(const struct ConfigSet *cs, struct ConfigDef vars[])
Register a set of config items.
static struct ConfigDef ConnVarsSsl[]
General SSL Config definitions for the conn library.
static struct ConfigDef ConnVars[]
Config definitions for the connection library.
static struct ConfigDef ConnVarsOpenssl[]
OpenSSL Config definitions for the connection library.
static struct ConfigDef ConnVarsPartial[]
SSL partial chains Config definitions for the connection library.
static struct ConfigDef ConnVarsGetaddr[]
GetAddrInfo Config definitions for the connection library.
static struct ConfigDef ConnVarsGnutls[]
GnuTLS Config definitions for the connection library.
bool config_init_conn(struct ConfigSet *cs)
Register conn config variables - Implements module_init_config_t -.
@ MUTT_YES
User answered 'Yes', or assume 'Yes'.
Container for lots of config items.
#define D_STRING_COMMAND
A command.
#define D_PATH_FILE
Path is a file.
@ DT_QUAD
quad-option (no/yes/ask-no/ask-yes)
@ DT_SYNONYM
synonym for another variable
@ DT_PATH
a path to a file/directory
#define D_INTEGER_NOT_NEGATIVE
Negative numbers are not allowed.