iamrahijan
Please check if your 25 (outbound) port is unblocked, you can run telnet
yum install telnet -y && telnet smtp.qq.com 25
If the following message is displayed all the time, it means that your server cannot access other mail servers, which generally occurs on google cloud or aws cloud
Trying xx.xx.xx.xx
You can solve this problem through smtp relay