The canonical file provides mapping between local email addresses and remote ones. This file handles incoming email from a user, domain, or network. In this video you can learn how to configure these mappings.
- [Instructor] The canonical file provides mapping between…local email addresses and remote ones.…This file handles incoming email…from a user domain or network.…Canonical mapping is disabled by default.…To enable, edit the canonical_maps parameter…in the main.cf file, and specify one or more lookup tables,…separated by white spaces or commas.…The /etc/postfix/canonical file has the…entire main page in it, just as the access file did.…Let's take a look at it.…In a terminal on your rhhost1 VM,…type in less /etc/postfix/canonical,…and hit Enter.…
Let's skip down to the table format section…by pressing / and typing TABLE FORMAT in uppercase.…The table format is a pattern in the left column,…with the result in the right column.…The pattern is what we're matching,…and the result is what we're going to do with the mail…or who it will be delivered to.…There are various things that we can do after we match…and change the destination email,…such as replace the domain or append it,…depending on the configuration options.…
Released
12/4/2018- Overview of email and mail agents
- Installing Postfix
- Postfix services and commands
- Postfix configuration files
- Configuring a mail service
- Creating a mail gateway
Share this video
Embed this video
Video: The canonical file