Where to start First steps track · 15 stages
Linux Labs

Postfix — a mail server

cheat sheet · Ubuntu 24.04 · Postfix https://lab.dimsanych.ru/en/wiki/postfix/

Cheat sheet

  • postconf -n the effective config
  • mailq what's in the queue
  • postqueue -f force the queue to flush
  • postcat -q <QUEUEID> look at a message in the queue
  • journalctl -u postfix or /var/log/mail.log
  • sudo postmap /etc/postfix/sasl_passwd && sudo systemctl reload postfix
  • echo "test" | mail -s "subject" you@example.com a test message
Loading…