The Mutt E-Mail Client : Configuration : Alternative addresses
Previous: Ignoring (weeding) unwanted message headers
Next: Mailing lists

## 3.9. Alternative addresses

Usage: `[un]alternates` regexp [ regexp ... ]

With various functions, mutt will treat messages differently, depending on whether you sent them or whether you received them from someone else. For instance, when replying to a message that you sent to a different party, mutt will automatically suggest to send the response to the original message's recipients -- responding to yourself won't make much sense in many cases. (See $reply_to.)

Many users receive e-mail under a number of different addresses. To fully use mutt's features here, the program must be able to recognize what e-mail addresses you receive mail under. That's the purpose of the `alternates` command: It takes a list of regular expressions, each of which can identify an address under which you receive e-mail.

The `unalternates` command can be used to write exceptions to `alternates` patterns. If an address matches something in an `alternates` command, but you nonetheless do not think it is from you, you can list a more precise pattern under an `unalternates` command.

To remove a regular expression from the `alternates` list, use the `unalternates` command with exactly the same regexp. Likewise, if the regexp for a `alternates` command matches an entry on the `unalternates` list, that `unalternates` entry will be removed. If the regexp for `unalternates` is ``*'', all entries on `alternates` will be removed.

The Mutt E-Mail Client : Configuration : Alternative addresses
Previous: Ignoring (weeding) unwanted message headers
Next: Mailing lists