Hello
I noticed this error on a previous email and no solution to it:
Escape character is '^]'.
220 debian ESMTP
helo aiurea
250 debian
starttls
220 ready for tls
helo aiurea
454 TLS connection failed: error:140760FC:SSL
routines:SSL23_GET_CLIENT_HELLO:unknown protocol (#4.3.0)
The cert was done running make-cert and it's vpopmail:root.
The strace says something like:
[pid 631] read(0, "starttls\r\n", 1024) = 10
[pid 631] brk(0) = 0x80669d0
[pid 631] brk(0x8066a48) = 0x8066a48
[pid 631] brk(0x8067000) = 0x8067000
[pid 631] brk(0x8068000) = 0x8068000
[pid 631] open("control/servercert.pem", O_RDONLY) = 3
[pid 631] fstat64(3, {st_mode=S_IFREG|0640, st_size=2067, ...}) = 0
[pid 631] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid 631] read(3, "-----BEGIN RSA PRIVATE KEY-----\n"..., 4096) = 2067
[pid 631] brk(0x8069000) = 0x8069000
[pid 631] getpid() = 631
[pid 631] read(3, "", 4096) = 0
[pid 631] getpid() = 631
[pid 631] getpid() = 631
[pid 631] getpid() = 631
[pid 631] getpid() = 631
[pid 631] getpid() = 631
[pid 631] close(3) = 0
[pid 631] munmap(0x40014000, 4096) = 0
[pid 631] open("control/clientca.pem", O_RDONLY) = -1 ENOENT (No such file
or directory)
[pid 631] getpid() = 631
[pid 631] getpid() = 631
[pid 631] getpid() = 631
[pid 631] getpid() = 631
[pid 631] open("control/servercert.pem", O_RDONLY) = 3
[pid 631] fstat64(3, {st_mode=S_IFREG|0640, st_size=2067, ...}) = 0
[pid 631] old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_ANONYMOUS, -1, 0) = 0x40014000
[pid 631] read(3, "-----BEGIN RSA PRIVATE KEY-----\n"..., 4096) = 2067
[pid 631] brk(0x806a000) = 0x806a000
[pid 631] getpid() = 631
[pid 631] close(3) = 0
[pid 631] munmap(0x40014000, 4096) = 0
[pid 631] open("control/tlsserverciphers", O_RDONLY|O_NONBLOCK) = -1 ENOENT
(No such file or directory)
[pid 631] select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200,
0})
[pid 631] write(1, "220 ready for tls\r\n", 19) = 19
[pid 631] fcntl64(0, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 631] fcntl64(1, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 631] fcntl64(1, F_SETFL, O_RDWR|O_NONBLOCK) = 0
[pid 631] time(NULL) = 1085512387
[pid 631] time(NULL) = 1085512387
[pid 631] getpid() = 631
[pid 631] brk(0x8070000) = 0x8070000
[pid 631] brk(0x8075000) = 0x8075000
[pid 631] brk(0x807a000) = 0x807a000
[pid 631] read(0, 0x806efa0, 11) = -1 EAGAIN (Resource temporarily
unavailable)
[pid 631] time(NULL) = 1085512387
[pid 631] getpid() = 631
[pid 631] select(1, [0], NULL, NULL, {1200, 0}) = 1 (in [0], left {1198,
760000})
[pid 631] time(NULL) = 1085512388
[pid 631] getpid() = 631
[pid 631] read(0, "helo aiurea", 11) = 11
[pid 631] getpid() = 631
[pid 631] time(NULL) = 1085512388
[pid 631] getpid() = 631
[pid 631] fcntl64(0, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK)
[pid 631] fcntl64(0, F_SETFL, O_RDWR) = 0
[pid 631] fcntl64(1, F_GETFL) = 0x2 (flags O_RDWR)
[pid 631] fcntl64(1, F_SETFL, O_RDWR) = 0
[pid 631] getpid() = 631
[pid 631] brk(0x807b000) = 0x807b000
[pid 631] brk(0x807c000) = 0x807c000
[pid 631] brk(0x807e000) = 0x807e000
[pid 631] select(2, NULL, [1], NULL, {1200, 0}) = 1 (out [1], left {1200,
0})
[pid 631] write(1, "454 TLS connection failed: error"..., 105) = 105
Radu Spineanu