Re: Differences and interactions between subscribe, lists, group, alternates and alias.
On Mon, Feb 15, 2021 at 06:04:03PM -0600, boB Stepp wrote: > 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 Alternates is also relevant for the reverse_name setting: reverse_name Type: boolean Default: no It may sometimes arrive that you receive mail to a certain machine, move the messages to another machine, and reply to some the messages from there. If this variable is set, the default From: line of the reply messages is built using the address where you received the messages you are replying to if that address matches your “alternates”. If the variable is unset, or the address that would be used doesn't match your “alternates”, the From: line will use your address on the current machine. Also see the “alternates” command. Very handy when you have hundreds of email addresses. cheers, raf
Re: Differences and interactions between subscribe, lists, group, alternates and alias.
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_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... 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
Re: Differences and interactions between subscribe, lists, group, alternates and alias.
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
Re: Differences and interactions between subscribe, lists, group, alternates and alias.
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
Re: Differences and interactions between subscribe, lists, group, alternates and alias.
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. HTH, Øyvind geo:60.38,5.33;u=500 OpenPGP fingerprint: A006 05D6 E676 B319 55E2 E77E FB0C BEE8 94A5 06E5 ea237272-6fe2-11eb-8f99-5582e081d110
Re: Differences and interactions between subscribe, lists, group, alternates and alias.
On 21/02/15 10:33PM, Wim wrote: On Monday, 15 February at 21:53, boB Stepp wrote: ...BTW, typing "Mu" into the "To:" field and then hitting does *not* fill in the email address; instead, it brings up a browser view where I have to hit before the address is inserted. Is there a way, when there are no conflicting "Mu" entries, to just *immediately* have hitting insert the address? If you change your alias line to: alias Mu Mutt-Users typing Mu and will work, not . Ah! I was misunderstanding the function of in expanding things. I haven't done it yet, but what I would like to do is have different groups that I can type a shortcut and have all the email addresses inserted. For instance, I would like to have a group "Kids" which when typed would auto-expand into my kids' email addresses. Also, I would like to be able to type in abbreviations like "Jess" and have that expand to my daughter's email address. How would I go about doing this without having a browser view come up with numbered entries? I think what you want is this. Given the kids' email addresses: alias Joe Josephine Murphy alias Moe Moe Murphy you can alias them as: alias fam Joe Moe and typing fam and will auto-expand. Yep, this works. Thanks! So what is the purpose of "group"? How can it help me? 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... -- Wishing you only the best, boB Stepp
Re: Differences and interactions between subscribe, lists, group, alternates and alias.
Hi boB, On Monday, 15 February at 21:53, boB Stepp wrote: > The current ongoing thread about lists and subscribe have led to my email. I > don't think I am understanding the differences and interactions to these > different Mutt configuration possibilities. > > From the other thread if I am understanding correctly for those mailing lists > that I am subscribed to and actively participating in in real life, it is to > my benefit to set these up with > setting subscribe for each such list. For these lists there is no point in my > using the lists configuration option. If I a just following a list, then > using lists configuration option is probably more appropriate. > > As to the group option I was under the impression that I could give a nice > shortcut name and assign a list of email addresses to it and then use it as an > alias. But that does not appear to be the case. For instance I had forgotten > to explicitly subscribe to Mutt-Users, so today added to my muttrc: > > subscribe -group Mutt-Users mutt-users@mutt.org > I've got a simple 'subscribe mutt-users' in my muttrc. It works. Subscribing to a list allow replying to that list with 'L'. > and had the expectation that since I used "-group", I could type "Mu" and hit > in the "To:" field and get the Mutt-Users address inserted. I was sadly > mistaken! I had to explicitly add > > alias Mutt-Users > > to my aliases file before that would occur. So I am not seeing how to use > "group". Can someone explain please? BTW, typing "Mu" into the "To:" field > and then hitting does *not* fill in the email address; instead, it > brings up a browser view where I have to hit before the address is > inserted. Is there a way, when there are no conflicting "Mu" entries, to just > *immediately* have hitting insert the address? > If you change your alias line to: alias Mu Mutt-Users typing Mu and will work, not . > I haven't done it yet, but what I would like to do is have different groups > that I can type a shortcut and have all the email addresses inserted. For > instance, I would like to have a group "Kids" which when typed would > auto-expand into my kids' email addresses. Also, I would like to be able to > type in abbreviations like "Jess" and have that expand to my daughter's email > address. How would I go about doing this without having a browser view come > up with numbered entries? I think what you want is this. Given the kids' email addresses: alias Joe Josephine Murphy alias Moe Moe Murphy you can alias them as: alias fam Joe Moe and typing fam and will auto-expand. > > 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. > > I think that sums up most of my current head scratching. > > -- > Wishing you only the best, > > boB Stepp -- |\ _,,,---,,_ ZZZzz /,`.-'`'-. ;-;;,_ |,4- ) )-,_. ,\ ( `'-' '---''(_/--' `-'\_)
Differences and interactions between subscribe, lists, group, alternates and alias.
The current ongoing thread about lists and subscribe have led to my email. I don't think I am understanding the differences and interactions to these different Mutt configuration possibilities. From the other thread if I am understanding correctly for those mailing lists that I am subscribed to and actively participating in in real life, it is to my benefit to set these up with setting subscribe for each such list. For these lists there is no point in my using the lists configuration option. If I a just following a list, then using lists configuration option is probably more appropriate. As to the group option I was under the impression that I could give a nice shortcut name and assign a list of email addresses to it and then use it as an alias. But that does not appear to be the case. For instance I had forgotten to explicitly subscribe to Mutt-Users, so today added to my muttrc: subscribe -group Mutt-Users mutt-users@mutt.org and had the expectation that since I used "-group", I could type "Mu" and hit in the "To:" field and get the Mutt-Users address inserted. I was sadly mistaken! I had to explicitly add alias Mutt-Users to my aliases file before that would occur. So I am not seeing how to use "group". Can someone explain please? BTW, typing "Mu" into the "To:" field and then hitting does *not* fill in the email address; instead, it brings up a browser view where I have to hit before the address is inserted. Is there a way, when there are no conflicting "Mu" entries, to just *immediately* have hitting insert the address? I haven't done it yet, but what I would like to do is have different groups that I can type a shortcut and have all the email addresses inserted. For instance, I would like to have a group "Kids" which when typed would auto-expand into my kids' email addresses. Also, I would like to be able to type in abbreviations like "Jess" and have that expand to my daughter's email address. How would I go about doing this without having a browser view come up with numbered entries? 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. I think that sums up most of my current head scratching. -- Wishing you only the best, boB Stepp