[exim] Cannot establish connection from client via tls

Top Page
Delete this message
Reply to this message
Author: James Brown
Date:  
To: exim-users
Subject: [exim] Cannot establish connection from client via tls
OS 8.0-STABLE FreeBSD , exim v. 4.71
I am trying to customize my exim-server setting up on my vds.
I have uncommented the next recordes in its configs:
daemon_smtp_port = 25:465
tls_certificate = CONFDIR/certificate.crt
tls_privatekey = CONFDIR/certificate.key
tls_on_connect_ports = 465
and restarted my server.
After that I have tried to send testing letters from my client on my
local PC (Icedove 2.0.0.24 under Debian Lenny) but it wrote me that
server was failed or refusing connections. (In the same time I could
send email letters through the port n. 25 without tls/ssl).
The log file of my server are attached.
ls -l /usr/local/etc/server.key
-r-------- 2 root wheel 887 Jan 1 1970 /usr/local/etc/server.key
ls -l /usr/local/sbin/exim
lrwxrwxrwx 1 root wheel 11 Apr 29 10:04 /usr/local/sbin/exim ->
exim-4.71-0
ls -l /usr/local/sbin/exim-4.71-0
-rwsr-xr-x 2 root wheel 934792 Jan 1 1970 /usr/local/sbin/exim-4.71-0
Does the exim daemon cannot have access to key-file?

exim 4.71 daemon started: pid=89386, -q30m, listening for SMTP on port 25 (IPv4) and for SMTPS on port 465 (IPv4)
Start queue run: pid=89388
End queue run: pid=89388
no host name found for IP address 180.149.95.174
TLS error on connection from [180.149.95.174] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
no host name found for IP address 119.110.103.59
TLS error on connection from [119.110.103.59] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
no host name found for IP address 119.110.103.59
TLS error on connection from [119.110.103.59] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
TLS error on connection from tor-exit.aof.su [216.224.124.124] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
TLS error on connection from tor-exit.aof.su [216.224.124.124] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
TLS error on connection from tor-exit.aof.su [216.224.124.124] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
TLS error on connection from tor-exit.aof.su [216.224.124.124] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
no host name found for IP address 180.149.95.174
TLS error on connection from [180.149.95.174] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
no host name found for IP address 180.149.95.174
TLS error on connection from [180.149.95.174] (SSL_CTX_use_PrivateKey_file file=/usr/local/etc/server.key): error:0200100D:system library:fopen:Permission denied
no host name found for IP address 180.149.95.174