Hello Daniel,
Sorry for the late response!
In the command for testing your Postfix configuration with sample email, the format is as below:
echo "Mail Body" | mail -s "Mail Title" -r "recipient_email" recipient_email
The sender email has already been configured with credential at /etc/postfix/sasl_passwd file and not needed to be mentioned in this command. Therefore, in your example both the email address should be your recipient email address.
I hope it helps. Please let us know if you need anything else.