September 13, 2025

Create groups of email addresses in Mutt

If you don’t already have a file with aliases, create one:

$ touch ~/.mail_aliases

You also need to tell Mutt’s configuration file, ~/.muttrc to use the file ~/.mail_aliases to store and retrieve aliases:

# File where Mutt stores and retrieves aliases 
source ~/.mail_aliases
set alias_file=~/.mail_aliases

Then, in the file ~/.mail_aliases, if you want to create a group, say, group1 with the following email addresses , , , write:

alias group1 <person1@example.com>, <person3@example.com>, <person4@example.com>

If you want to create another group, say, group2 with email addresses , , , write:

alias group2 <person1@example.com>, <person2@example.com>, <person5@example.com>

Now, if you want to address group1, all you have to do is write group1 when Mutt prompts you to fill the To: field in Mutt’s command-line, e.g.:

To: group1
<return>

On the next screen, the To: field should be populated with:

<person1@example.com>, <person3@example.com>, <person4@example.com>

personal computing command-line interface (cli) gnu linux trisquel shell literacy office applications wiki mutt

No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2025 by yctct is licensed under CC BY-SA 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88