About gmail and postfix and ssl : I follow instruction here : Tutorial on ejabberd, postfix, dovecot and or nginx with letsencrypt
Then :
- Make my ssl for belar.example.net via certbot (i use webrot method, but think any method work too)
- update postfix (and dovecot) to use same certificate than my webserver
- restart postfix
Seems OK (for me)
Received: from belar.example.net (belar.example.net. [91.xx.xx.xx])
by mx.google.com with ESMTPS id 1si721816wrl.82.2017.02.20.00.00.46
for <shnoulle@gmail.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Mon, 20 Feb 2017 00:00:46 -0800 (PST)
But right : i didn’t find the good way for IPv6