title: smtp send mail via postfix and nodejs nodemailer connection closed
body: <p>i have problem of remote sending via smtp server
  using nodejs module nodemailer</p>
  
  <pre><code>host: 'mail.5cpa.ru'
  port: 587
  secure: false (true tried also)
  </code></pre>
  
  <p>smtp server is mine, and i can send mails through thenderbird, using same setting</p>
  
  <p>log</p>
  
  <pre><code>server 220 5cpa.ru ESMTP Postfix (Ubuntu)
  client EHLO vonica
  server 250-5cpa.ru
  250-PIPELINING
  250-SIZE 15728640
  250-ETRN
  250-STARTTLS
  250-ENHANCEDSTATUSCODES
  250-8BITMIME
  250 DSN
  client STARTTLS
  server 220 2.0.0 Ready to start TLS
  socket Closing connection to the server
  </code></pre>
  
  <p>thanks!</p>