On 21/02/16 12:28AM, Øyvind A. Holm wrote:
On 2021-02-16 00:17:22, Øyvind A. Holm wrote:
On 2021-02-15 16:01:06, boB Stepp wrote:
> > On Monday, 15 February at 21:53, boB Stepp wrote:
> > > And from reading the Mutt manual I have encountered the
> > > alternates option, but now I am not sure what it is useful for
> > > and how to most effectively use it.
>
> And "alternates" is still a mystery...

It is used if you have any alternate or old email addresses.
`alternates` makes it possible for Mutt to mark messages in the index
with "F" (from one of your addresses), "+" or "T" (to one of your
addresses), etc. For example,

   alternates job_em...@example.net
   alternates old_em...@example.com
   alternates another_...@example.org

Now Mutt knows that all these addresses belong to you.

A small correction (even though the above example will work). The
parameter after `alternates` is a regexp, so a more correct way to write
them would be

   alternates ^job_email@example\.net$
   alternates ^old_email@example\.com$
   alternates ^another_old@example\.org$

to avoid false positives with for example "yet_another_...@example.org".

So is this mostly to provide labeling information in the index?  I suppose it
might be usable for some sort of filtering purposes...

--
Wishing you only the best,

boB Stepp

Reply via email to