Network
The postfix command
Mail transfer agent (MTA). With check it validates the config and with status it tells if running.
Copy-ready examples
$ sudo postfix checkValidate the config$ postfix statusService statusYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- The configuration lives in /etc/postfix/main.cf (myhostname, mydomain...).
FAQ
What is the postfix command for?
It controls the Postfix mail server: start, stop or check its configuration.
How do I validate the configuration?
With postfix check.
More Network commands
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course