0

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

1 Answer 1

0

You likely need to bind postix to listen on interfaces other then local host. Modify /etc/postfix.conf

  inet_interfaces = YOUR.IP,127.0.0.1

or

  inet_interfaces = all

(You will also need to ensure your mynetworks line is correctly set so it knows what hosts can send through it)

And restart postfix.

4

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .