struct option_t MuttVars[] = {
/*++*/
+ {"abort_noattach", DT_QUAD, R_NONE, OPT_ATTACH, M_NO},
+ /*
+ ** .pp
+ ** This variable specifies whether to abort sending if no attachment
+ ** was made but the content references them, i.e. the content
+ ** matches the regular expression given in
+ ** $$$attach_remind_regexp. If a match was found and this
+ ** variable is set to \fIyes\fP, message sending will be aborted
+ ** but the mail will be send nevertheless if set to \fIno\fP.
+ **
+ ** .pp
+ ** This variable and $$$attach_remind_regexp are intended to
+ ** remind the user to attach files if the message's text
+ ** references them.
+ **
+ ** .pp
+ ** See also the $$$attach_remind_regexp variable.
+ */
{"abort_nosubject", DT_QUAD, R_NONE, OPT_SUBJECT, M_ASKYES},
/*
** .pp
** .dt %|X .dd pad to the end of the line with character "X"
** .de
*/
+ {"attach_remind_regexp", DT_RX, R_NONE, UL &AttachRemindRegexp, UL "attach"},
+ /*
+ ** .pp
+ ** If this variable is non-empty, muttng will scan a message's contents
+ ** before sending for this regular expression. If it is found, it will
+ ** ask for what to do depending on the setting of $$$abort_noattach.
+ ** .pp
+ ** This variable and $$$abort_noattach are intended to remind the user
+ ** to attach files if the message's text references them.
+ */
{"attach_sep", DT_STR, R_NONE, UL &AttachSep, UL "\n"},
/*
** .pp
** deleting will automatically be purged without prompting. If set to
** \fIno\fP, messages marked for deletion will be kept in the mailbox.
*/
+ {"delete_space", DT_BOOL, R_NONE, OPTDELSP, 0},
+ /*
+ ** .pp
+ ** When sending messages with \fTformat=flowed\fP by \fIsetting\fP the
+ ** $$$text_flowed variable, this variable specifies whether to also
+ ** set the \fTDelSp\fP parameter to \fTyes\fP. If this is \fIunset\fP,
+ ** no additional parameter will be send as a value of \fTno\fP already
+ ** is the default behavior.
+ **
+ ** .pp
+ ** \fBNote:\fP this variable only has an effect on \fIoutgoing\fP messages
+ ** (if $$$text_flowed is \fIset\fP) but not on incomming.
+ */
{"delete_untag", DT_BOOL, R_NONE, OPTDELETEUNTAG, 1},
/*
** .pp
/*
** .pp
** \fBNote:\fP you should not enable this unless you are using Sendmail
- ** 8.8.x or greater.
+ ** 8.8.x or greater or in connection with the SMTP support via libESMTP.
** .pp
** This variable sets the request for when notification is returned. The
** string consists of a comma separated list (no spaces!) of one or more
/*
** .pp
** \fBNote:\fP you should not enable this unless you are using Sendmail
- ** 8.8.x or greater.
+ ** 8.8.x or greater or in connection with the SMTP support via libESMTP.
** .pp
** This variable controls how much of your message is returned in DSN
** messages. It may be set to either \fIhdrs\fP to return just the
** they contain the string ``\fTFrom \fP'' (note the trailing space)
** in the beginning of a line. Useful to avoid the tampering certain mail
** delivery and transport agents tend to do with messages.
+ **
+ ** .pp
+ ** \fBNote:\fP as mutt-ng currently violates RfC3676 defining
+ ** \fTformat=flowed\fP, it's <em/strongly/ advised to \fIset\fP
+ ** this option although discouraged by the standard. Alternatively,
+ ** you must take care of space-stuffing <tt/From / lines (with a trailing
+ ** space) yourself.
*/
{"envelope_from", DT_BOOL, R_NONE, OPTENVFROM, 0},
/*
** 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
** from (instead to the author only). Setting this option to ``\fIask-yes\fP'' or
** ``\fIask-no\fP'' will ask if you really intended to reply to the author only.
*/
- {"max_line_length", DT_NUM, R_NONE, UL &MaxLineLength, 0},
+ {"max_display_recips", DT_NUM, R_PAGER, UL &MaxDispRecips, 0},
+ /*
+ ** .pp
+ ** When set non-zero, this specifies the maximum number of recipient header
+ ** lines (\fTTo:\fP, \fTCc:\fP and \fTBcc:\fP) to display in the pager if header
+ ** weeding is turned on. In case the number of lines exeeds its value, the
+ ** last line will have 3 dots appended.
+ */
+ {"max_line_length", DT_NUM, R_PAGER, UL &MaxLineLength, 0},
/*
** .pp
** When \fIset\fP, the maximum line length for displaying ``format = flowed'' messages is limited
** \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},
/*
** (S/MIME only)
*/
#if defined(USE_LIBESMTP)
- {"smtp_auth_username", DT_STR, R_NONE, UL &SmtpAuthUser, 0},
+ {"smtp_auth_username", DT_SYN, R_NONE, UL "smtp_user", 0},
+ {"smtp_user", DT_STR, R_NONE, UL &SmtpAuthUser, 0},
/*
** .pp
** Availability: SMTP
** Defines the username to use with SMTP AUTH. Setting this variable will
** cause Mutt-ng to attempt to use SMTP AUTH when sending.
*/
- {"smtp_auth_password", DT_STR, R_NONE, UL &SmtpAuthPass, 0},
+ {"smtp_auth_password", DT_SYN, R_NONE, UL "smtp_pass", 0},
+ {"smtp_pass", DT_STR, R_NONE, UL &SmtpAuthPass, 0},
/*
** .pp
** Availability: SMTP
**
** .pp
- ** Defines the password to use with SMTP AUTH. If ``$$smtp_auth_username''
+ ** Defines the password to use with SMTP AUTH. If ``$$smtp_user''
** is set, but this variable is not, you will be prompted for a password
** when sending.
** .pp
** presents a security risk since the superuser of your machine may read it
** regardless of the file's permissions.
*/
+ {"smtp_envelope", DT_STR, R_NONE, UL &SmtpEnvFrom, 0},
+ /*
+ ** .pp
+ ** Availability: SMTP
+ **
+ ** .pp
+ ** If this variable is non-empty, it'll be used as the envelope sender. If it's empty
+ ** (the default), the value of the regular \fTFrom:\fP header will be used.
+ **
+ ** .pp
+ ** This may be necessary as some providers don't allow for arbitrary values
+ ** as the envelope sender but only a particular one which may not be the same as the
+ ** user's desired \fTFrom:\fP header.
+ */
{"smtp_host", DT_STR, R_NONE, UL &SmtpHost, 0},
/*
** .pp
** 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
** .pp
** \fBWarning:\fP do not set this variable unless you are using a version
** of sendmail which supports the \fT-B8BITMIME\fP flag (such as sendmail
- ** 8.8.x) or you may not be able to send mail.
+ ** 8.8.x) or in connection with the SMTP support via libESMTP.
+ ** Otherwise you may not be able to send mail.
** .pp
- ** When \fIset\fP, Mutt-ng will invoke ``$$sendmail'' with the \fT-B8BITMIME\fP
- ** flag when sending 8-bit messages to enable ESMTP negotiation.
+ ** When \fIset\fP, Mutt-ng will either invoke ``$$sendmail'' with the \fT-B8BITMIME\fP
+ ** flag when sending 8-bit messages to enable ESMTP negotiation or tell
+ ** libESMTP to do so.
*/
{"use_domain", DT_BOOL, R_NONE, OPTUSEDOMAIN, 1},
/*