[SCP] SCP configuration email alarm prompts Verify Identity failure
Problem Description
SCP configuration email alarm prompts authentication failure
Warning Information

Effective troubleshooting steps
- The acmp test and the SMTP Server address communicate normally

- During the configuration process, I captured the packet in the acmp background and found that scp actively returned the fin packet

- Configure the current SMTP Server on HCI, the network and scp are in the same network segment, and the test sending of test emails is normal
- The R&D positioning is that the key parameter of hmac in the python2.x version does not support the input of unicode objects. It is necessary to modify the configuration vim /usr/lib/python2.7/site-packages/sf_notify/common/smtplib.py and restart the service systemctl restart sf-notify-api.service, which does not affect the business.

Root cause
The key parameter of hmac in python2.x does not support the passing of unicode objects (this problem existed before SCP6.3.0)
solution
See Processing
Original Link
https://support.sangfor.com.cn/cases/list?product_id=36&type=1&category_id=19515&isOpen=true