How do I send email with sendmail to external hosts?
- by Jake
If I wanted to send an email to a user on the same linux machine, I can run:
echo -e "Subject: Foo\n\nBar\n" | sendmail -v jacob
But if I run:
echo -e "Subject: Foo\n\nBar\n" | sendmail -v zorgnax@gmx.com
It will give me the error:
050 >>> MAIL From:<jacob@mu> SIZE=321
050 550 5.1.8 Cannot resolve your domain {mx-us011}
If…