haraka / Haraka

A fast, highly extensible, and event driven SMTP server
https://haraka.github.io
MIT License
5.08k stars 661 forks source link

Error: Outbound email with "auth/flat_file" #850

Closed varmad closed 9 years ago

varmad commented 9 years ago

=== Connected to localhost. <- 220 li940-16 ESMTP Haraka 2.5.0 ready -> EHLO li940-16.members.linode.com <- 250-li940-16 Hello ip6-localhost [::1], Haraka is at your service. <- 250-PIPELINING <- 250-8BITMIME <- 250 SIZE 500000 *\ Host did not advertise authentication -> QUIT <- 221 li940-16 closing connection. Have a jolly good day. === Connection closed with remote host.

Please any one help me on this...

Thanks, Varma

smfreegard commented 9 years ago

Varma,

As per the docs - you must enable and use TLS before Haraka's authentication functions will be offered.

If you use IPv4 loopback instead of IPv6; it will offer AUTH without TLS - I've just checked and we appear to be missing an exclusion for ::1.

Regards, Steve.

varmad commented 9 years ago

Steve,

In which config file I need to enable TLS?

smfreegard commented 9 years ago

TLS is a plugin so you add it to config/plugins (e.g. echo tls >> config/plugins). Then read the plugin docs on how to set it up.

varmad commented 9 years ago

Steve,

Thanks for your help, I enabled IPV4 and it is working.

Thanks, Varma