Can receive but not send emails

Discussion in 'General' started by arnoldochavez, Oct 13, 2025.

Tags:
  1. arnoldochavez

    arnoldochavez New Member

    Hello, I have been searching and searching, and still haven't found a solution. I can receive emails (from every other email) and send them but only to the emails inside the server, but can't send them to outside email accounts (like outlook or gmail), this is what i got from the logs:

    Code:
    2025-10-13T12:36:00.005829-06:00 hostname postfix/smtp[3010739]: warning: DNSSEC validation may be unavailable
    2025-10-13T12:36:00.006005-06:00 hostname postfix/smtp[3010739]: warning: reason: dnssec_probe 'ns:.' received a response that is not DNSSEC validated
    2025-10-13T12:36:00.035633-06:00 hostname postfix/smtp[3010739]: connect to hotmail-com.olc.protection.outlook.com[52.101.194.5]:25: Connection refused
    2025-10-13T12:36:00.037616-06:00 hostname postfix/smtp[3010739]: connect to hotmail-com.olc.protection.outlook.com[52.101.68.13]:25: Connection refused
    2025-10-13T12:36:00.038305-06:00 hostname postfix/smtp[3010739]: connect to hotmail-com.olc.protection.outlook.com[52.101.42.11]:25: Connection refused
    2025-10-13T12:36:00.041003-06:00 hostname postfix/smtp[3010739]: connect to hotmail-com.olc.protection.outlook.com[52.101.9.1]:25: Connection refused
    I have set the DNS as the guide:
    [​IMG]
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Your internet service provider or datacenter probably blocks port 25 outgoing. Contact the support of the company that provides internet access for this server or the datacenter where you rented that server or vserver and ask them to open port 25 outgoing in their firewall.
     
    ahrasis likes this.
  3. arnoldochavez

    arnoldochavez New Member

    That's what I just did, I'm waiting for their response, will update once I get it. Thanks!
     
  4. arnoldochavez

    arnoldochavez New Member

    Hello, me again, I was told by the provider of my vps that the outgoing port 25 is open, is there a way to very this? Or what are other reason for not sending emails? they added a DKIM registry but it stills says "Connection refused"
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to connect to the mail server with telnet:

    Code:
    apt install telnet
    then run

    Code:
    telnet hotmail-com.olc.protection.outlook.com 25
    or to google

    Code:
    telnet gmail-smtp-in.l.google.com 25
    If the connection times out, then your provider blocks it.

    Dkim does not matter here as your server is not able to even connect to the remote mail system.
     
  6. arnoldochavez

    arnoldochavez New Member

    I didn't get timeout, just a Connection refused
    [​IMG]
    [​IMG]
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Ok, so it's not an issue with your mail server config. Your server or VM is not allowed to connect to other mail servers on port 25, which means your ISP or datacenter likely blocks it.
     
  8. arnoldochavez

    arnoldochavez New Member

    Thank you so much, already told them again to check if the port is blocked, will update again if another thing happens!
     

Share This Page