Skip to content

No connection to any server #86

@selfauthor

Description

@selfauthor

I'm trying to connect to different servers. Result - no connection. Tried with ports 25, 587, 2525. Nothing works.
Here is the result of one of the attempts:
Array[2]
[0] => Array[2]
[selfauthor@gmail.com] => false
[domains] => Array[1]
[gmail.com] => Array[2]
[users] => Array[1]
[0] => "selfauthor"
[mxs] => Array[6]
[gmail-smtp-in.l.google.com] => "5"
[alt1.gmail-smtp-in.l.google.com] => "10"
[alt2.gmail-smtp-in.l.google.com] => "20"
[alt3.gmail-smtp-in.l.google.com] => "30"
[alt4.gmail-smtp-in.l.google.com] => "40"
[gmail.com] => "0"
[1] => Array[20]
[0] => "[2025-04-09T15:04:29.408834+0000] Building MX records for domain: gmail.com"
[1] => "[2025-04-09T15:04:29.409218+0000] MX records (gmail.com): Array
(
[gmail-smtp-in.l.google.com] => 5
[alt1.gmail-smtp-in.l.google.com] => 10
[alt2.gmail-smtp-in.l.google.com] => 20
[alt3.gmail-smtp-in.l.google.com] => 30
[alt4.gmail-smtp-in.l.google.com] => 40
[gmail.com] => 0
)
"
[2] => "[2025-04-09T15:04:29.409285+0000] Connecting to gmail-smtp-in.l.google.com:25 (timeout: 10)"
[3] => "[2025-04-09T15:04:39.578215+0000] Connect failed: Connection timed out, error number: 110, host: gmail-smtp-in.l.google.com:25"
[4] => "[2025-04-09T15:04:39.578286+0000] Unable to connect. Exception caught: Cannot open a connection to remote host (gmail-smtp-in.l.google.com:25)"
[5] => "[2025-04-09T15:04:39.578305+0000] Connecting to alt1.gmail-smtp-in.l.google.com:25 (timeout: 10)"
[6] => "[2025-04-09T15:04:49.641301+0000] Connect failed: Connection timed out, error number: 110, host: alt1.gmail-smtp-in.l.google.com:25"
[7] => "[2025-04-09T15:04:49.641351+0000] Unable to connect. Exception caught: Cannot open a connection to remote host (alt1.gmail-smtp-in.l.google.com:25)"
[8] => "[2025-04-09T15:04:49.641360+0000] Connecting to alt2.gmail-smtp-in.l.google.com:25 (timeout: 10)"
[9] => "[2025-04-09T15:04:59.684593+0000] Connect failed: Connection timed out, error number: 110, host: alt2.gmail-smtp-in.l.google.com:25"
[10] => "[2025-04-09T15:04:59.684654+0000] Unable to connect. Exception caught: Cannot open a connection to remote host (alt2.gmail-smtp-in.l.google.com:25)"
[11] => "[2025-04-09T15:04:59.684669+0000] Connecting to alt3.gmail-smtp-in.l.google.com:25 (timeout: 10)"
[12] => "[2025-04-09T15:05:09.731295+0000] Connect failed: Connection timed out, error number: 110, host: alt3.gmail-smtp-in.l.google.com:25"
[13] => "[2025-04-09T15:05:09.731371+0000] Unable to connect. Exception caught: Cannot open a connection to remote host (alt3.gmail-smtp-in.l.google.com:25)"
[14] => "[2025-04-09T15:05:09.731389+0000] Connecting to alt4.gmail-smtp-in.l.google.com:25 (timeout: 10)"
[15] => "[2025-04-09T15:05:19.807906+0000] Connect failed: Connection timed out, error number: 110, host: alt4.gmail-smtp-in.l.google.com:25"
[16] => "[2025-04-09T15:05:19.807954+0000] Unable to connect. Exception caught: Cannot open a connection to remote host (alt4.gmail-smtp-in.l.google.com:25)"
[17] => "[2025-04-09T15:05:19.807963+0000] Connecting to gmail.com:25 (timeout: 10)"
[18] => "[2025-04-09T15:05:29.884573+0000] Connect failed: Connection timed out, error number: 110, host: gmail.com:25"
[19] => "[2025-04-09T15:05:29.884628+0000] Unable to connect. Exception caught: Cannot open a connection to remote host (gmail.com:25)"

I think that mx servers have tightened their spam protection and are denying connections to anyone who is not an smtp server. How can I break through this protection?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions