Solved

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

Posted on 2006-11-15
2
345 Views
Last Modified: 2010-03-17
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
Comment
Question by:kennycpu
2 Comments
 
LVL 14

Expert Comment

by:pablouruguay
ID: 17946595
0
 
LVL 4

Accepted Solution

by:
jetx earned 100 total points
ID: 17953904
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question