mirror of https://github.com/CrimsonTome/tldr.git
30 lines
500 B
Markdown
30 lines
500 B
Markdown
# postfix
|
|
|
|
> Postfix mail transfer agent (MTA) control program.
|
|
> See also `dovecot`, a mail delivery agent (MDA) that integrates with Postfix.
|
|
> More information: <http://www.postfix.org>.
|
|
|
|
- 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`
|