I installed Postfix on my debian development machine. Easy Peasy.
This dev box sits behind a NAT router and even though postfix is installed, when I try and send email using 'mail' and then at the mail queue with
mailq I see 'connection has failed'.
I read this article several times:
http://www.akadia.com/services/postfix_mta.html
I essentially just want to send email to a remote email server using sendmail. I don't need SMTP daemon running as my server should never relay or accept incoming emails. I construct emails using PHP and just want to pass them to sendmail binary for immediate sending (or queueing).
Unlike when I used mail or tried to send an email using telent and SMTP -- when I follwed the example in the above article and used sendmail -- I received no error but no email either.
How do I test or determine what is going wrong with the Postfix sendmail???