From the course: Linux System Engineer: Mail Systems Using Postfix

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

The transport file

The transport file

From the course: Linux System Engineer: Mail Systems Using Postfix

Start my 1-month free trial

The transport file

- [Instructor] The next file we'll look at is the etc Postfix Transport File. It maps between email addresses, transport delivery options, and nexthop destinations. The format is then email space transport colon nexthop format. An example would be user1@localnet.com space smtp colon mail.localnet.com. This sets up a mapping between the email address user1@localnet.com and smtp colon mail.localnet.com. As with other configuration files in the etc postfix directory, we need to convert it to an indexed postfix database file using the postmap command. In your rhhost1 VM, open a terminal and type in sudo space postmap space slash etc slash postfix slash transport and hit Enter. Type in your password if prompted. And we'll verify with LS, type in L-S space slash E-T-C slash postfix and hit Enter. If it was successful, you should see a transport dot db file.

Contents