Iv'e just installed postfix on my pi and wanted to set it up to send emails via my gmail account.
Ive followed this tutorial, but
when i do sudo apt-get install heirloom-mailx it doesn't appear to install anything, it just says pi@raspberry ~ $ ts... 0%
I try this echo 'hi' | mail -s Test , but get error
-bash: syntax error near unexpected token `newline'