Useful CLI Commands

From Roaring Penguin
Jump to: navigation, search

Force a mailqueue run to a specific domain, e.g. example.com. The -v will generate verbose reporting.

  sendmail -v -qRexample.com

Watch the end of the current mail log file.

  tail -f /var/log/mail-daily/current.log