<processor state="relay" enableJmx="true"> <mailet match="All" class="RemoteDelivery"> <outgoingQueue>outgoing</outgoingQueue> <delayTime>5000, 100000, 23*500000</delayTime> <maxRetries>25</maxRetries> <maxDnsProblemRetries>0</maxDnsProblemRetries> <deliveryThreads>10</deliveryThreads> <sendpartial>true</sendpartial> <bounceProcessor>bounces</bounceProcessor> <debug>true</debug> <startTLS>true</startTLS> <sslEnable>false</sslEnable> <heloName>${env:OP_JAMES_REMOTE_DELIVERY_HELO}</heloName> </mailet> </processor>
(sample taken from mailetcontainer.xml of one of my environments.) The important thing here is startTLS true as it enable opportunistic connection upgrades. Your very next problem is GMail complaining about your self signed certificates used for RemoteDelivery: You need to set up javax.mail to use your regular certificates. Regards, Benoit On 22/12/2021 19:04, Bs Serge wrote: > Hi again, > > After configuring Reverse DNS PTR record, SPF, DKIM and DMARC, emails I > send are now out of spam and inside the inbox (of GMAIL, ...) > > But they are still marked as unencrypted as you can see here: > https://ibb.co/FsLF6Lr > > Even though I configured STARTTLS and generated an SSL certificate using > Letsencrypt (certbot) > > I have added screenshots of other checks as well : > > - mxtoolbox.com : https://ibb.co/StSwwtP > - checktls.com : https://ibb.co/f8KHj0t > - GMAIL show original: https://ibb.co/jRwcs1w > - DMARC: https://ibb.co/VBJ0SZ1 > > Kindly let me know what I might be missing. > > Any comments or thoughts would be appreciated. > > Best Regards, >