10

I use Mutt as my main client and use the alias command quite frequently.

How to group mail addresses, or—even better—aliases into a list I can then use like an alias to send mail to?

2 Answers 2

10

Create a file with the following content:

alias my_alias1 recipient1@email, recipient1@email
alias my_alias2 recipient3@email, recipient4@email

Source it from your mutt config with source path/to/alias_file.

Aliases - Mutt Project Wiki

2
  • Whoa, how could I have missed this? It seems it is also possible to use aliases already defined? Commented Feb 19, 2013 at 22:10
  • Sure, you can use already defined aliases as targets of another alias. Commented Feb 20, 2013 at 3:46
0

~/myalias.list:

alias my_alias1 recipient1@email, recipient1@email, [email protected]

~/.muttrc:

source ~/myalias.list 

I would like to be able to use this alias with mutt (-b for BCC):

$ mutt -b my_alias1 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.