Hello. Incoming SMTP (receiving emails) is intrinsequely different from sending emails.
Sending emails is govern by RemoteDelivery mailet within mailetcontainer.xml. To get RemoteDelivery trusted by third parties you can: - Enable optimistic STARTTLS upgrades - email relaying happens on port 25 wich is not encrypted by default. - Specify valid certificates for the javax SMTP lib: -D/javax/.net.ssl./trustStore=... - /Have a reasonnable reverse DNS being resolved for the IP of your outgoing mail server.../ - /Configure SPF [1] and DKIM [2] for your domain [1] https://james.apache.org/howTo/spf.html [2] https://james.apache.org/howTo/dkim.html Good luck, sending emails is a challenging topic! Best regards, Benoit // On 18/12/2021 04:17, Bs Serge wrote: > Hi all, > > I configured SSL in james server with my domain name and everything is > going well, I can send and receive emails with users of the domain name > from outside SMTP servers. I followed this guide[1] > > But the emails I send go directly into the spam folder (of GMAIL, .... ) > and are marked as unencrypted while I'm using STARTTLS and i'm passing all > TLS checks here[2] with 114 max score and the thunderbird client is not > giving any security warnings. > > Any idea why this might happen? > > Any comment or thoughts would be appreciated! > > [1] https://robertmunn.com/blog/configuring-ssl-in-apache-james/ > [2] https://www.checktls.com/TestReceiver > > Best Regards, >