Hands-on Lab·LPIC-1
Mail transport, aliases and printing
Objectives 108.3 and 108.4 are mail transfer agent basics and printing. This guide installs Postfix configured for local delivery only, creates an alias and follows one message from mail through the queue into the recipient's mailbox, then turns to the CUPS client commands on a machine with no print server - which is where the useful distinction is.
102: Essential System Services Guide 20 of 33 Intermediate
- OSUbuntu 26.04 LTS
- Kernel7.0.0-30-generic
- systemd259
- TimeAbout 20 min
| Server Name | IP Address | OS | Roles | CPU | RAM | HDD |
|---|---|---|---|---|---|---|
| LPIC1-A01 | 192.168.0.76 | Ubuntu 26.04 LTS | Debian-family host - dpkg and apt, which objective 102.4 names | 2 Core | 4 GB | 50 GB |
This guide includes
Use this for the mail and printing objectives. This matters because editing the aliases file changes nothing until the database is rebuilt - which is the step people forget.
- going from no MTA to one listening on loopback only
- reading the configuration that differs from the defaults
- adding an alias, and running the rebuild people forget
- following one message from send to delivery
- finding why the print scheduler is not running, with the client tools installed
Before you start
- logging-priorities-and-rotation
-
From no MTA to one that listens on loopback
-
The configuration that matters
-
An alias, and the rebuild people forget
-
Following one message all the way
-
Printing, and why the scheduler is not running