Mail server not working with Postfix Dovecot

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


On 07/12/15 17:50, Patrick Asselman wrote:
> 
<snip>
> Tried it just now, no connection is ever established on port 25:
> 
> $ telnet 181.230.43.12 25
> Trying 181.230.43.12...
> ^C
> $
> 
> whereas port 465 is open but refusing connections:
> 
> $ telnet 181.230.43.12 465
> Trying 181.230.43.12...
> telnet: connect to address 181.230.43.12: 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/main.cf 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

http://paste.ubuntu.com/13774193/

> 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

-- 
Atte.
Mariano Jara Melagrani
http://www.jaramelagrani.com.ar/

0x80319128 GnuPG v1.4 (GNU/Linux)
http://pgp.mit.edu/
http://keyserver.pgp.com/
http://keyserver.ubuntu.com:11371/




More information about the ubuntu-users mailing list