When I try the command in terminal, an email is sent. I have checked there is no local SMTP is running, so what is the mechanism used by Apple behind the scene? echo "Hello" | mail -s "Test" ...
I managed to configure a local postfix server, which works correctly when using the mail command (and I receive emails from the cron deamon), however, if I try to connect using telnet localhost 25 ...
I would like to be able to send email from utility/batch/launchd scripts via my gmail account and the mailx client that is bundled in OS X Lion. I cannot find how to configure this. I found ...