• 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

SMTP will not start HELP!!!

S

stockmaster

Guest
Hi

I tried to start SMTP but it is still red. So I can't send Emails from Outlook or Horde. I read a lot of threads, but nothing worked out.

I restartet services but still on success

Starting INET services. (xinetd) done
d793:/ # service xinetd restart
Shutting down xinetd: done
Starting INET services. (xinetd) done
d793:/ # /etc/init.d/qmail start
Starting qmail: done

Is there any solution for this problem? Please help!

Plesk version psa v8.3.0_build83080131.20 os_SuSE 10.2
Operating system Linux 2.6.18.2-34-bigsmp

Heinz
 
Yes, and it looks like smtp ist running !?!?

But when I lry to connect via telnet it refuses.

d793:/etc/init.d # /usr/local/psa/admin/bin/mailmng --start-smtpd
d793:/etc/init.d # /etc/init.d/qmail start
Starting qmail: done
d793:/etc/init.d # /etc/init.d/qmail status
d793:/etc/init.d # telnet mail.wowoyo.ch 25
Trying 80.86.201.154...
telnet: connect to address 80.86.201.154: Connection refused
d793:/etc/init.d #

No clue what's going on?
 
It's difficult to say from my end. You can try to kill all of the processes first. So, try something like service qmail stop first.

You can then try running something like ps -ef | grep qmail and see if there are any processes running still. If there are, then kill those first. Then try starting qmail using service qmail start.

That said, this may be also an issue with iptables or some application firewall blocking you. I don't know because I'm not familiar with your server :)

Worse case scenario, you can try to reboot but this is Linux, you shouldn't have to do unless absolutely necessary!
 
I did as you told and killed all processes. Then I started qmail again.
-----------
d793:/etc/init.d # ps -ef | grep qmail
root 8279 5426 0 16:33 pts/0 00:00:00 grep qmail
d793:/etc/init.d # /etc/init.d/qmail status
d793:/etc/init.d # /usr/local/psa/admin/bin/mailmng --start-smtpd
d793:/etc/init.d # ps -ef | grep qmail
qmails 8543 1 0 16:34 ? 00:00:00 qmail-send
qmaill 8545 8543 0 16:34 ? 00:00:00 splogger qmail
root 8546 8543 0 16:34 ? 00:00:00 qmail-lspawn | /usr/bin/deliverquota ./Maildir
qmailr 8547 8543 0 16:34 ? 00:00:00 qmail-rspawn
qmailq 8548 8543 0 16:34 ? 00:00:00 qmail-clean
root 8617 5426 0 16:34 pts/0 00:00:00 grep qmail
d793:/etc/init.d # telnet mail.wowoyo.ch 25
Trying 80.86.201.154...
telnet: connect to address 80.86.201.154: Connection refused
----------------

But still I can't connect, although I stopped the firewall. I am in deep trouble,, when I can't fix this.
 
Have you tried port 587? Not that it makes a difference but just in case.
 
Argh! Okay, you have to look a the log files: /var/log/messages and /var/log/psa/maillog

tail both of those, see if there are any errors related to the mail.
 
Halleluiah

I found the error and this could be the solution for some of the other problems too.

I ran dos2unix on the smtp_psa and smtps_psa, because I edited them using a windows tool.

Now everything is working fine!!

Thanks for your assist stance.
 
Back
Top