# Error: Mail command failed: 530 5.7.0 Must issue a STARTTLS command first

**URL:** <https://forums.rocket.chat/t/error-mail-command-failed-530-5-7-0-must-issue-a-starttls-command-first/13687>\
**Category:** Community Support\
**Created:** [March 27, 2022, 9:23pm UTC](https://forums.rocket.chat/t/error-mail-command-failed-530-5-7-0-must-issue-a-starttls-command-first/13687 "2022-03-27T21:23:47Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dudanogueira](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dudanogueira/32/2529_2.png) [@dudanogueira](https://forums.rocket.chat/u/dudanogueira)\
**Post date:** [March 30, 2022, 5:16pm UTC](https://forums.rocket.chat/t/error-mail-command-failed-530-5-7-0-must-issue-a-starttls-command-first/13687/6 "2022-03-30T17:16:08Z")

</div>

Hum.

IgnoreTLS will not have effect here.

Please, can you try this?

> [@RocketChat SMTP Server configure failed under private CA certificate signed smtp ssl certificate](https://forums.rocket.chat/t/rocketchat-smtp-server-configure-failed-under-private-ca-certificate-signed-smtp-ssl-certificate/12281):
>
> Description Rocket Chat Server can not set LAN SMTP Server, and the site has correct certificate signed by our own CA certificate that only exist in LAN. I’ve even install ca-certificates in docker bundle system using docker exec -it -u 0 bash and then install our CA.crt into /usr/share/ca-certificates, but it does not works with these error output when I click “test sending email”: smtps port: 465 Updating process.env.MAIL\_URL Exception in defer callback: Error: self signed certificate in…

---

_[View the full topic](https://forums.rocket.chat/t/error-mail-command-failed-530-5-7-0-must-issue-a-starttls-command-first/13687)._
