Useful CLI Commands

From Roaring Penguin
Revision as of 13:54, 20 June 2014 by MCoyne (talk | contribs)

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