I am unable to send an email from the cli on this GoDaddy server I got. I spoke with GoDaddy technician and they said I am the one who is responsible for openning outgoing port 25. Technician also said there is nothing on there end that is preventing me from opening outgoing port 25 to send mail. So the desired result is attainable which is to send mail from this server.
I have sent the email from Godaddy to firstname.lastname@example.org. I used command echo "Subject: sendmail test" | sendmail -v email@example.com Then I received the following on my webmail of my self hosted server where I am using qmail and vpop.
Hi. This is the qmail-send program at example.com. I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.
firstname.lastname@example.org: 22.214.171.124 does not like recipient. Remote host said: 553 sorry, that domain isn't in my list of allowed rcpthosts (#5.7.1) Giving up on 126.96.36.199.
--- Below this line is a copy of the message.
Return-Path: email@example.com Received: (qmail 4663 invoked by uid 1000); 19 Apr 2021 16:19:33 +0000 Date: 19 Apr 2021 16:19:33 +0000 Message-ID: firstname.lastname@example.org From: email@example.com Cc: recipient list not shown: ; Subject: sendmail test
shows me tcp LISTEN 0.0.0.0.:25
How do I open outgoing port 25 on this CentOS7 server?