8

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?

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?
    – Profpatsch
    Feb 19 '13 at 22:10
  • Sure, you can use already defined aliases as targets of another alias.
    – artyom
    Feb 20 '13 at 3:46
0

~/myalias.list:

alias my_alias1 recipient1@email, recipient1@email, recep3@email.com

~/.muttrc:

source ~/myalias.list 

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

$ mutt -b my_alias1 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.