Categories
Mastering Development System & Network

Sending emails via SMTP with postfix

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@example.com

What I want to be able to do is send mail through it from a remote server using SMTP, however, it refuses the connection

Leave a Reply

Your email address will not be published. Required fields are marked *