The link shared by unor helped me to fix this issue.
The IM account was unable to connect due to certificate issue. Though I have a valid certificate it wasn't able to verify the certificate.
Here is the detailed steps on how to fix the issue.
Get the proper certificates
Get the certificate (If you dont have one) from pidgin account.
- open Tools -> Certificates
- select the appropriate hostname and click "Save" (file: certificate.pem)
Open Thunderbird -> Edit -> Preference -> Advanced
- choose Certificates tab -> View Certificates
- Select Servers and Click Import to add the download "Certificate.pem" and save it.
or
Use this link https://kingant.net/check_xmpp_dns/ to get proper server details.
- open the link and enter "yourdomain.com" to fetch the server details
- Copy the Target value in "Client records for yourdomain.com". In this case it is c2s.webex.com.webexconnect.com
Open Thunderbird -> Edit -> Preference -> Advanced
Adding XMPP account
- Open Thunderbird -> Edit -> Account Settings
- Add Chat Account
- select xmpp
- username: name@domain.com
- password: .......
- Resource: Doesn't really matter
- Server: im.domain.com or the text grabbed from the URL(c2s.webex.com.webexconnect.com)
- Port : 5222
Now we are good to go :)