-1

I trying to use telnet on port 25 at localhost but I get disconnected right after connected.

"Trying ::1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host."

I can't do nothing...

Here is my main.cf for postfix:

http://pastebin.com/L9PrSNYy

Here the master.cf

http://pastebin.com/W3muVeGU

Any help ? :/

levi
  • 22,001
  • 7
  • 73
  • 74

1 Answers1

0

It should work. Check the logfile for postfix (usually, /var/log/mail.log). One you can get "EHLO" to work (and see "STARTTLS" in the server greeting) you can use this to test TLS connections:

$ openssl s_client -starttls smtp -crlf -connect 1.2.3.4:25
neuhaus
  • 3,886
  • 1
  • 10
  • 27