I have enabled mail message submission, but port 587 is still not listened. What have I missed?

Article ID: 5568 
Last Review: Oct,6 2008
Author: Bezborodova Anastasiya
Last updated by: system APPLIES TO:
  • Plesk 8.3.x for Linux/Unix
  • Plesk 8.4.x for Linux/Unix
  • Plesk 8.6.x for Linux/Unix

Symptoms

Mail message submission was enabled through Server -> Mail -> Enable message submission, but submission port is still closed:

~# telnet localhost 587
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
~#

Cause

Since version 8.3 Plesk qmail creates xinetd configuration file /etc/xinetd.d/submission_psa (for RedHat OSes) or adds the appropriate record into /etc/inetd.conf on Debian and FreeBSD.
Fresh installation means clean installation of Plesk Control Panel 8.3 or above on server or upgrade from older versions.

Control Panel option Enable message submission just comments the record out in inetd.conf or renames submission_psa to submission.psa to exclude submission from xinetd configuration. Reinstallation of package psa-qmail would not restore the missing records.

Resolution

You should create the file or add the record manually.

/etc/xinetd.d/submission_psa
service submission
{
socket_type = stream
protocol = tcp
wait = no
disable = no
user = qmaild
instances = UNLIMITED
env = SUBMISSION=1 SMTPAUTH=1
server = /var/qmail/bin/tcp-env
server_args = /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true

}

/etc/inetd.conf
submission stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env /usr/bin/env SUBMISSION=1 SMTPAUTH=1 /var/qmail/bin/qmail-smtpd /var/qmail/bin/smtp_auth /var/qmail/bin/true /var/qmail/bin/cmd5checkpw /var/qmail/bin/true
Keywords: mail message submission; Connection refused;


Subscription for this article changesSubscription for this article changes

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields