• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue msmtp Error 550 - The from address does not match a verified Sender Identity

in my example this is MSMTP at 64-180, which uses 68-4 as remote MTA
in your maillog
smtpstatus=550 smtpmsg='550 The from address does not match a verified Sender Identity
pointed that something is wrong with sender, looks like some misconfiguration there..

there's only one difference in my msmtprc:
~]# egrep -v '^$|^#' /etc/msmtprc /tmp/msmtp.txt
/etc/msmtprc:defaults
/etc/msmtprc:syslog LOG_MAIL
/etc/msmtprc:tls_certcheck off
/etc/msmtprc:tls off
/etc/msmtprc:auto_from on
/etc/msmtprc:maildomain a10-52-64-180.qa.plesk.int
/etc/msmtprc:domain a10-52-64-180.qa.plesk.int
/etc/msmtprc:account default
/etc/msmtprc:host 10.52.68.4
/etc/msmtprc:port 25
/etc/msmtprc:auth on
/etc/msmtprc:user [email protected]
/etc/msmtprc:passwordeval /usr/lib64/plesk-9.0/msmtp-pwdeval
I didn't use tls so my remote port is 25. but it shouldn't matter.

as a future investigations steps i'd recommend to ask sendgrid's support about MTA logs on their side from your IP address.
what sender, hostname and IP they receive in fact and what's wrong with sender's domain verification.
for now, there's nothing wrong at Plesk side from my point of view. it should work but didn't..
 
You'll need to set auto_from to off in the msmtprc config file. E.g.:
****
# Automatic envelope-from generation.
# Caution: this overrides explicitly set envelope-from via --from or other means.
auto_from off
****

This setting overwrites your return-path and is a bad default and is not configurable in the plesk UI.
 
  • Like
Reactions: mow
Back
Top