SSL Certificate using Dovecot IMAP Server

CONNECTED(00000005)

depth=1 C = US, O = “CloudFlare, Inc.”, OU = CloudFlare Origin SSL Certificate Authority, L = San Francisco, ST = California

verify error:num=19:self signed certificate in certificate chain

verify return:0

You cant (really) use an origin certificate in an IMAP context, as these are only trusted by Cloudflare’s proxy servers and those dont do IMAP.

mail dovecot: imap-login: Error: SSL: Stacked error: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca: SSL alert number 48

ssl Cloudfare

Please Help me fix this with dovecot, postfix

Dont double post. There has been an answer for two days already.