From 9d76900e0970e66cacfa36e78e2504393fa55cf2 Mon Sep 17 00:00:00 2001 From: Rocco Rutte Date: Tue, 13 Nov 2007 11:50:24 +0100 Subject: [PATCH] Document that %f in $index_format is either Return-Path: or From: depending on which parses correctly. Also note that alternates' regex should be as precise as possible to avoid mismatches. Closes #1894. --- doc/manual.xml.head | 20 ++++++++++++++++++++ init.h | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/doc/manual.xml.head b/doc/manual.xml.head index fb682b1f1..7129a7d20 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -2377,6 +2377,26 @@ expressions, each of which can identify an address under which you receive e-mail. + +As addresses are matched using regular expressions and not exact strict +comparisons, you should make sure you specify your addresses as precise +as possible to avoid mismatches. For example, if you specify: + + + +alternates user@example + + + +mutt will consider ``some-user@example'' as +being your address, too which may not be desired. As a solution, in such +cases addresses should be specified as: + + + +alternates '^user@example$' + + The -group flag causes all of the subsequent regular expressions to be added to the named group. diff --git a/init.h b/init.h index 527a36608..62c13b624 100644 --- a/init.h +++ b/init.h @@ -1021,7 +1021,7 @@ struct option_t MuttVars[] = { ** ``date_format'' converted to the local time zone ** .dt %e .dd current message number in thread ** .dt %E .dd number of messages in current thread - ** .dt %f .dd entire From: line (address + real name) + ** .dt %f .dd sender (address + real name), either From: or Return-Path: ** .dt %F .dd author name, or recipient name if the message is from you ** .dt %H .dd spam attribute(s) of this message ** .dt %i .dd message-id of the current message -- 2.40.0