Mail server not working with Postfix Dovecot

Mariano Jara Melagrani mjaramelagrani at
Mon Dec 7 21:09:08 UTC 2015

On 07/12/15 17:50, Patrick Asselman wrote:
> Tried it just now, no connection is ever established on port 25:
> $ telnet 25
> Trying
> ^C
> $
> whereas port 465 is open but refusing connections:
> $ telnet 465
> Trying
> telnet: connect to address Connection refused
> telnet: Unable to connect to remote host
> $
>>> Mind you, this only works if you use unsecured smtp, but considering
>>> port 25 is used, this is likely the current configuration.
>> How can I know if I'm using unsecured smtp?
> It depends on your configuration.
> Your postfix configuration should have statements like
> smtpd_use_tls=yes
> smtpd_tls_security_level = encrypt
> smtpd_tls_auth_only = yes
> I’m not a postfix expert, but if you share your /etc/postfix/ with us, someone here can figure it out. (make sure to edit out anything you don’t want to be public).

I've posted the logs and Postfix config at

> Reading some other posts in this thread, it looks like you configured a secure connection and are probably enforcing it, otherwise I can’t explain why port 25 is not answering and port 465 is answering (unless your ISP is blocking port 25, that might still be an option).
> Anyway if you fix the certificate issue you should be able to connect via port 465.

I'll regenerate the certificate. Thanks.

> Best regards,
> Patrick

Mariano Jara Melagrani

0x80319128 GnuPG v1.4 (GNU/Linux)

More information about the ubuntu-users mailing list