Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

454 4.7.0 TLS not available due to local problem

1,659 views
Skip to first unread message

Jaimefp

unread,
Jan 24, 2014, 6:26:28 AM1/24/14
to
Hi group!

I'm working in a Mail Server using Postfix + DBMail. I found some problems when I configured TLS.

Connecting by telnet: telnet localhost 25
I have this result:

0UT: Trying 127.0.0.1...
0UT: Connected to localhost.
0UT: Escape character is '^]'.
0UT: 220 correo1 ESMTP Postfix (Debian/GNU)
IN: ehlo localhost
0UT: 250-correo1
0UT: 250-PIPELINING
0UT: 250-SIZE 10240000
0UT: 250-VRFY
0UT: 250-ETRN
0UT: 250-STARTTLS
0UT: 250-ENHANCEDSTATUSCODES
0UT: 250-8BITMIME
0UT: 250 DSN
IN: STARTTLS
0UT: 454 4.7.0 TLS not available due to local problem

If I connect using: openssl s_client -connect localhost:25 -starttls smtp

I obtain this:

CONNECTED(00000003)
21831:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:607:

I paste here my: postconf -f


alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mailbox_transport = dbmail-lmtp:localhost:24
mydestination = correo1, localhost.localdomain, localhost
myhostname = correo1
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
readme_directory = no
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_tls_CAfile = /etc/postfix/tls/my-ca.crt
smtpd_tls_cert_file = /etc/postfix/tls/smtp.pem
smtpd_tls_key_file = /etc/postfix/tls/smptp-key.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
virtual_alias_maps = proxy:mysql:/etc/postfix/sql-virtual_mailbox_maps.cf
virtual_mailbox_domains = proxy:mysql:/etc/postfix/sql-virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:mysql:/etc/postfix/sql-virtual_mailbox_maps.cf
virtual_transport = dbmail-lmtp:localhost:24

Someone can help me? Thanks in advance

Jaimefp

unread,
Jan 24, 2014, 7:22:24 AM1/24/14
to
I am sorry, the problem is solved.

It was a great mistake with my fingers..

the file smptp-key.pem doesn't exists, the file is named smtp-key.pem

Sorry
0 new messages