mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
528 B
Plaintext
34 lines
528 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# postfix
|
|
|
|
> Postfix mail transfer agent (MTA) control program.
|
|
> More information: <https://www.postfix.org/postfix.1.html>.
|
|
|
|
- Check the configuration:
|
|
|
|
`sudo postfix check`
|
|
|
|
- Check the status of the Postfix daemon:
|
|
|
|
`sudo postfix status`
|
|
|
|
- Start Postfix:
|
|
|
|
`sudo postfix start`
|
|
|
|
- Gracefully stop Postfix:
|
|
|
|
`sudo postfix stop`
|
|
|
|
- Flush the mail queue:
|
|
|
|
`sudo postfix flush`
|
|
|
|
- Reload the configuration files:
|
|
|
|
`sudo postfix reload`
|