• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

qmail not listening to port 25

V

vasillalov

Guest
Folks,

I have an URGENT problem. My qmail install is not listening on port 25 for some reason.

I can send mail from the server to external mailboxes. In other words, I receive all of my Plesk Alerts and notices on my external mailbox. Even using pine for sending mail works fine.

However, qmail is not listening on port 25!
nmap localhost produces:


PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
53/tcp open domain
106/tcp open pop3pw
110/tcp open pop3
111/tcp open rpcbind
143/tcp open imap
443/tcp open https
631/tcp open ipp
953/tcp open rndc
971/tcp open unknown
993/tcp open imaps
994/tcp open ircs
995/tcp open pop3s
8443/tcp open https-alt


ps -A | grep qmail produces:

6957 pts/0 00:00:00 qmail-send
6960 pts/0 00:00:00 qmail-lspawn
6961 pts/0 00:00:00 qmail-rspawn
6962 pts/0 00:00:00 qmail-clean


I am running Plesk 8.0.1 on Centos 4.4 Final. There is nothing in the logs that indicates a problem.

Also, I've tried rebuilding the qmail queue. It worked fine but qmail is still not listening to port 25.

Any ideas?

P.S.:
Merry Christmas and Happy New Year!
 
Ok,
I did some more fighting and here is the result. It appears that I was missing the 2 run files in the /etc/xinetd.d/ folder/ One is called smtp_psa and the other smtps_psa. When I have these files correctly installed there is a service listening to ports 25 and 465.

However, there is a new issue now: Upon sending an email to an account to this server, the email bounces back with the following message:
Hi. This is the qmail-send program at myserver.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<user@myserver.com>:
Sorry. Although I'm listed as a best-preference MX or A for that host,
it isn't in my control/locals file, so I don't treat it as local. (#5.4.6)


Any ideas?

Also, why is that I need all 3 init scripts:
1. /etc/init.d/qmail
2. /etc/xinetd.d/smtp_psa
3. /etc/xinetd.d/smtps_psa

Something is terribly wrong here.
 
I think I know what is going on now.

Accidentally I have deleted my /var/qmail/control/virtualdomains file.

How do I rebuild this file with plesk?
 
Back
Top