I have an email server running using postfix and dovecot. I am using mail.domain.com for my mx record, and have different sites on domain.com and various other subdomains (using nginx to serve different services). I am able to send emails to my gmail, but I am unable to send emails from gmail to my mail server, and I don’t understand why. I generated the appropriate certifications for mail.domain.com
Here is what my /stc/postfix/main.fc looks like:
myhostname = mail.domain.com
Here is what my /etc/dovecot/dovecot.conf looks like:
ssl_cert = < /etc/letsencrypt/live/mail.domain.com/fullchain.pem
ssl_key = < /etc/letsencrypt/live/mail.domain.com/privkey.pem
I have read through all of the posts similar to mine, and nothing worked so far. If anyone wants more information, I will gladly post it. Am I missing something?