I have a VPS in which I have installed and setup postfix as a send-only mail server.
This command here works perfectly fine to send mail echo "This email is a test" | mail -s "This is a test email" [email protected]
What I want to be able to do is send mail through it from a remote server using SMTP, however, it refuses the connection