Sendmail is refusing connection after configuring SMTP relay
- by coder
I'm setting up sendmail on my home computer to use with my webserver. I've set it to use my SMTP server provided by my hosting company.
If I use the following command, it works
sendmail -Am -t -v
and then I enter the to and from emails.
But if I try the following, it does not work.
sendmail -v name@mydomain.com < test.txt
The TO email…