Send mail from commandline

Need to test postfix? Just send out a quick email?

echo "test" | mail -s "test" who@domain.tld