Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

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.

Here you go!

share|improve this answer
    
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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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