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

Øyvind A. Holm sunny at sunbase.org
Tue Feb 16 00:17:17 UTC 2021


On 2021-02-15 18:04:03, boB Stepp wrote:
> On 21/02/16 00:28, Ø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:
> > > > 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".
>
> So is this mostly to provide labeling information in the index?  I 
> suppose it might be usable for some sort of filtering purposes...

Yes, it also works with limiting ("l") and search ("/") in the index. 
For example,

    ~P|~p

will search for or limit the view to all mails to/from you. It also 
makes reply a bit more intelligent. For example, when I replied to the 
first mail I sent it didn't address it to me, but either you ("r") or 
the list ("L").

Regards,
Øyvind

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


More information about the Mutt-users mailing list