title: PHPMailer can't send via postfix
body: <p>I already setup postfix in my debian linux VPS. 
  I can send email via ssh console using postfix.
  I can send email using PHPMailer using my gmail account.
  I can receive email in my debian linux VPS account.</p>
  
  <p>Then I want to send email using PHPMailer via Postfix using my debian linux vps account. But it's failed with log below.</p>
  
  <pre><code>SERVER -&amp;gt; CLIENT: &lt;br&gt;
  CLIENT -&amp;gt; SERVER: EHLO android&lt;br&gt;
  SERVER -&amp;gt; CLIENT: &lt;br&gt;
  SMTP ERROR: EHLO command failed: &lt;br&gt;
  SMTP NOTICE: EOF caught while checking if connected&lt;br&gt;
  SMTP Error: Could not connect to SMTP host.&lt;br&gt;
  </code></pre>
  
  <p>How to send email using PHPMailer using postfix ? should i use sasl ?</p>
  
  <p>My sendmail.php</p>
  
  <pre><code>$mail = new PHPMailer;
  $mail-&gt;isSMTP();
  $mail-&gt;Port = 587;
  $mail-&gt;SMTPSecure = 'tls';
  $mail-&gt;SMTPAuth = true;
  $mail-&gt;Subject = 'hello postfix phpmailer';
  $mail-&gt;msgHTML(file_get_contents('contentemail.html'), dirname(__FILE__));
  $mail-&gt;Host = 'yyyy.zzzz.com';
  $mail-&gt;Username = "xxxx";
  $mail-&gt;setFrom('xxxx@yyyy.zzzz.com', 'Ceramah Islam');
  $mail-&gt;addReplyTo('xxxx@yyyy.zzzz.com', 'Ceramah Islam');
  $mail-&gt;Password = "aaaaaa";
  $mail-&gt;addAddress('bbbb@gmail.com', 'bbbb');
  $mail-&gt;send();
  </code></pre>