Skip to main content

Newly setup server outgoing and incoming emails are not working

Comments

14 comments

  • mtindor
    I am getting retry time not reached for any host for 'domain.com'
    for any domain. What should I do?

    Are you sure your resolvers in /etc/resolv.conf are working? Are you sure that your provider is allowing outbound TCP 25 access to send email?
    0
  • Optimizr
    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.
    0
  • quietFinn
    How can I check if it is working?

    In command line: telnet gmail-smtp-in.l.google.com 25
    0
  • Optimizr
    @quietFinn It's not working. Looks like I need to wait provider's reply.
    0
  • mtindor
    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
    0
  • Optimizr
    @mtindor I am a server admin and for the time being I haven't setup CSF yet. It must be the DO (
    0
  • mtindor
    @mtindor I am a server admin and for the time being I have setup CSF yet. It must be the DO (
    0
  • Optimizr
    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.
    0
  • mtindor
    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.
    0
  • Optimizr
    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.

    LoL, yes
    0
  • Optimizr
    DO is refusing to open port 25. As I did research, other hosting providers are also blocking port 25. But according to this article (
    0
  • mtindor
    DO is refusing to open port 25. As I did research, other hosting providers are also blocking port 25. But according to this article (
    0
  • cPRex Jurassic Moderator
    Many providers block port 25 on their network to help stop spam. This means you'll need to use a smarthost to send email, or move to a different provider that doesn't have this restriction:
    0
  • Optimizr
    Looks like the future of hosting is without email functionalities. Email service providers will be booming.
    0

Please sign in to leave a comment.