Postfix Local Notifications and the Mail Queue
Make one machine deliver its own notifications: Postfix on loopback only, root's mail routed to ops, then a message that sits in the queue until you read the reason, find what is holding the mailbox, and flush it.
Skill labintermediate~45 minPro
What you'll do
- ✓Read and set Postfix parameters with postconf, keeping SMTP on loopback and delivery local
- ✓Route root's mail to a named mailbox with /etc/aliases and newaliases
- ✓Validate with postfix check, start the service, and submit mail through sendmail
- ✓Follow a message from postqueue to the journal and diagnose a deferred delivery
- ✓Repair the cause, flush the queue, and confirm nothing is reachable from the network
Lab outline
- 01As found
- 02Configure local delivery
- 03Deliver and diagnose
Before you start
- Operate systemd Services
- Investigate Logs and Configure Rotation
- Time Zones and Reliable Time Synchronization
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.