Local mail delivery

Hi All,

wondering if it is possible to send mail via commandline?
Specially the root related system mails would be important for me.
Fail2Ban mails, logwatch mails, rk-hunter, chkrootkit …

Any ideas?