Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 389
  • Last Modified:

Qmail - Unable to create the /var/qmail/supervise/qmail-smtpd/run file.

I got this error:

[root@relay qmail-smtpd]# exec /usr/local/bin/softlimit -m 2000000 /usr/local/bin/tcpserver -v -R -l "relay.abc.com" -x /etc/tcp.smtp.cdb -c "20" -u 501 -g 500 0 smtp /var/qmail/bin/qmail-smtpd 2>&1
tcpserver: fatal: unable to figure out port number for smtp

[root@relay qmail-smtpd]# telnet localhost smtp
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused

Who can give me the correct script to start the qmail-smtpd service?
0
kennycpu
Asked:
kennycpu
1 Solution
 
pablouruguayCommented:
0
 
jetxCommented:
try..

tcpserver -v -u 7770 -x /etc/tcp.smtp.cdb -g 2108 0 smtp /var/qmail/bin/qmail-smtpd \
     2>&1 | /var/qmail/bin/splogger smtpd 3 &
or

check out the ucspi-tcp manual at http://cr.yp.to/ucspi-tcp/tcpserver.html
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now