Differences and interactions between subscribe, lists, group, alternates and alias.

Øyvind A. Holm sunny at sunbase.org
Mon Feb 15 23:28:55 UTC 2021


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_email at example.net
>    alternates old_email at example.com
>    alternates another_old at 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 at example\.net$
    alternates ^old_email at example\.com$
    alternates ^another_old at example\.org$

to avoid false positives with for example "yet_another_old at 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


More information about the Mutt-users mailing list