Nuclear Rooster

24Mar/100

Easiest way to test sendmail

$ sudo whoami # Enter your sudo password so the next command does not wait for the password
$ sudo tail -f /var/log/maillog &
$ echo "Hello there" | /usr/sbin/sendmail example@gmail.com
Filed under: Uncategorized No Comments