Paste config here, replacing this text.
Use `caddy fmt` to make it readable.
DO NOT REDACT anything except credentials.
LEAVE DOMAIN NAMES INTACT.
Make sure the backticks stay on their own lines.
3. The problem I’m having:
Hi Sir,
My Caddy file is as mentioned above. but, still it’s not working as expected. Can anyone please let help me on how to to enable MTA-STS policy for my server via Caddyfile?
Thank you in advance!
4. Error messages and/or full log output:
[000.418]
policy–>error
could not retrieve policy: 500 Can’t connect to mta-sts.mydomain.com:443 (SSL connect attempt failed error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error)
[000.418]
No Mail eXchangers found; will try TLS directly to host.
MTA-STS (full name SMTP Mail Transfer Agent Strict Transport Security ) is a new standard that aims to improve the security of SMTP by enabling domain names to opt into strict transport layer security mode that requires authentication (valid public certificates) and encryption (TLS).
(see e.g. https://www.hardenize.com/blog/mta-sts )
But I want to server a single SSL for all my subdomains including primary one. So, please guide me with exact syntax to write in Caddyfile to achieve it.
After I run this command " xcaddy build --with github.com/mholt/caddy-l4 " the entire SSL of my website as well as TLS Iused for SMTP has gone wrong and giving few errors as shown below;
Sir, I hope you understand that I wanted to use a single CaddySSL to secure my website, subdomains such as mta-sts as well as my emails via TLS. So, my humble request to you to please guide me on how to solve this.