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".

Regards,
Øyvind

geo:60.38,5.33;u=500
OpenPGP fingerprint: A006 05D6 E676 B319 55E2  E77E FB0C BEE8 94A5 06E5
b12c0f9a-6fe4-11eb-8623-5582e081d110

Reply via email to