So all I am trying to do is send a test email from my web server. I do own the domain name and viewing my website itself works perfectly fine.
I have installed postfix brand new out of the box and modified the following in my
/etc/postfix/main.cf per tutorials online:
After this I try the following command to send an email to myself at gmail:
echo "Body of email" | mail -s "This is the test Subject" firstname.lastname@example.org
but nothing gets sent. I do see that they go in the queue:
I do see in the logs that my connection times out when trying to send.
So a bit of detail that may affect the sending:
- Port 25 is blocked by my ISP. Would this prevent sending email? I thought that would only block incoming email
- Do I have to do anything different to my main.cf or am I looking in the wrong place?
- I have confirmed that the service postfix is running