echo "test" | sendmail -v -f test@test.ru test@gmail.com
Mail Delivery Status Report will be mailed to <test@test.ru>.
This is the mail system at host test.ru.
Enclosed is the mail delivery report that you requested.
The mail system
<test@gmail.com>: delivery via
gmail-smtp-in.l.google.com[2a00:1450:400c:c05::1b]:25: 250 2.0.0 OK
1435852144 n4si31438232wix.50 - gsmtp
Final-Recipient: rfc822; test@gmail.com
Action: relayed
Status: 2.0.0
Remote-MTA: dns; gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 250 2.0.0 OK 1435852144 n4si31438232wix.50 - gsmtp