@alzhao Sorry I missed your comment.

I don’t know what screenshot should I include but these are the files that I have updated manually:

  • /etc/ssmtp/ssmtp.conf
root=<<redacted>>
mailhub=smtp.sendgrid.net:465
rewriteDomain=<<Redacted, Updated from fake username's domain to real domain manually>>
hostname=<<Redacted, Updated from fake username's domain to real domain manually>>
AuthUser=<<Redacted, Updated from fake username to "apikey" manually>>
AuthPass=<<redacted>>
AuthMethod=LOGIN
UseTLS=YES
FromLineOverride=Yes
#UseSTARTTLS=Yes
  • /etc/ssmtp/revaliases
root:<<Redacted, Updated from fake username to "apikey" manually>>:smtp.sendgrid.net:465
1 Like