Postfix usage
From wikinotes
Sending Mail
Piping give you the most options
{ echo From: noreply@domain.com echo To: you@gmail.com echo Subject: Foo Bar Baz echo echo This is my email. echo Hello friend! } | sendmail -tYou can also use params
echo 'my body' | sendmail \ -f noreply `# ${user}@domain.com (rc.conf hostname, and .localdomain)` \ -F 'No Reply' `# sender name` \
View Config
postconf -n