• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

problem with mail enable --help please

V

vinhwsu

Guest
Hello all,

Please help me on how to fix the following problem:

There was an error sending your message: unable to connect to smtp server localhost:25


Thanks
 
the following reasons why its not working

1.Start the service for it?
2. Is the port open?
3. Is the same port being open for more than 1 program?

If number 2 answer is no u will need to open it.

If number 3 answer is yes u cannot use more than one program at the same port.
 
I know for sure, the port is open.

HOw can I check and see if more than one service use the same port?

HOw can I enable and disable from server? I know for sure the fire wall is open
 
in which way have you resolved?

i have the same issue.
 
Restart SMTP

Run

netstat -aon | findstr :25

1. you will see all processes that listen on port 25 (PID indicates the PID of application). Open Task Manager and find applications that have that PIDs

2. there must be 0.0.0.0:25 record, which indicates that mailserver is listening on all IPs, otherwise, 127.0.0.1:25 must be present instead.

If you see more than one PID, just stop that excessive application/service (usually, it's IIS SMTP),

In second case (if these records are absent), check IP binding in ME and dont forget to restart SMTP

At last, try

telnet localhost 25

ouch ... hope, here are all possibilities :)
 
check your anti-virus software...sometimes they have an build-in firewall !
 
Back
Top