Newly setup server outgoing and incoming emails are not working

Optimizr

Well-Known Member
Aug 8, 2020
75
6
8
Yangon
cPanel Access Level
Root Administrator
Are you sure your resolvers in /etc/resolv.conf are working?
How can I check if it is working? systemd-resolve --status returns Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found.

Are you sure that your provider is allowing outbound TCP 25 access to send email?
I have contacted the provider before posting here but they are not replying so far.
 

mtindor

Well-Known Member
Sep 14, 2004
1,530
143
343
inside a catfish
cPanel Access Level
Root Administrator
Yep, looks like you don't have access to TCP 25 outbound. That could be your provider, or it could be your own firewall. Are you a server operator or are you a user with an account on a server? If you are the one who configures/maintains the server, you'll have root access and you should take a look at your firewall. I'd assuming you are running Configserver Firewall (CSF). At any rate, you need to make sure you can make outbound TCP 25 connections. Some providers might require you to use a Smarthost to send outbound mail, but the majority don't. For those that do, they should have already set that up for you or should have informed you that you'd have to do that.

Mike
 

mtindor

Well-Known Member
Sep 14, 2004
1,530
143
343
inside a catfish
cPanel Access Level
Root Administrator
@mtindor

I am a server admin and for the time being I have setup CSF yet. It must be the DO (Why is SMTP blocked? :: DigitalOcean Documentation) who blocked port 25. Thank you for your help.
Interesting. I like the DO platform. I don't like that new rule, although I don't send mail through DO servers. On the other hand, I'm happy that they implemented that policy since I've definitely seen spam coming from DO droplets.
 
  • Like
Reactions: Optimizr

Optimizr

Well-Known Member
Aug 8, 2020
75
6
8
Yangon
cPanel Access Level
Root Administrator
Yes, I have had an similar experience with linode but this is the first time with DO. As for me, I have several websites on several cPanel accounts. Using third party mailing service is not for optimal for me.
 

mtindor

Well-Known Member
Sep 14, 2004
1,530
143
343
inside a catfish
cPanel Access Level
Root Administrator
Yes, I have had an similar experience with linode but this is the first time with DO. As for me, I have several websites on several cPanel accounts. Using third party mailing service is not for optimal for me.
It wouldn't be optimal for me either. I'd probably quit my job if somebody told me I had to switch to relaying outbound emails through Sendgrid on my servers.
 
  • Like
Reactions: Optimizr

Optimizr

Well-Known Member
Aug 8, 2020
75
6
8
Yangon
cPanel Access Level
Root Administrator

Attachments

mtindor

Well-Known Member
Sep 14, 2004
1,530
143
343
inside a catfish
cPanel Access Level
Root Administrator
  • Like
Reactions: Optimizr