News:

SMF - Just Installed!

Main Menu

smtp and mail configuration on ubunto 20.04 (64 Bit)

Started by mahesh, Aug 02, 2023, 08:03 AM

Previous topic - Next topic

mahesh

hello,
i recently started working with servers and what not , i eneded up with a vps that i wanted to setup for mailing , nevertheless i ran into my problems , one's which i couldnt connect to my smtp credentiels , i will give where im at right now , what i figured till now is that that Postfix is indeed listening only on the loopback interface (127.0.0.1), and it's not accessible from external IP addresses , as when i telnet my ip it says "telnet: Unable to connect to remote host: Connection refused"
i will share with you my firewall ports are also well set
    Code:
root@server:~# sudo ufw statusStatus: active


To                         Action      From
--                         ------      ----
25                         ALLOW       Anywhere
587                        ALLOW       Anywhere
465                        ALLOW       Anywhere
25 (v6)                    ALLOW       Anywhere (v6)
587 (v6)                   ALLOW       Anywhere (v6)
465 (v6)                   ALLOW       Anywhere (v6)


22                         ALLOW OUT   Anywhere
25                         ALLOW OUT   Anywhere
587                        ALLOW OUT   Anywhere
465                        ALLOW OUT   Anywhere
22 (v6)                    ALLOW OUT   Anywhere (v6)
25 (v6)                    ALLOW OUT   Anywhere (v6)
587 (v6)                   ALLOW OUT   Anywhere (v6)
465 (v6)                   ALLOW OUT   Anywhere (v6)


root@server:~#

ive been on this issue for quite a while now , to note that i also installed cyberpanel on this server and created a website and an email as where i dont even see them on my server .
to note inet_interfaces is set to all , and please i would be more than happy to share with you my main.cf or master , beside this , the mail log really doesnt share much besite unable to connect ...