Solved

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

Posted on 2006-11-15
2
339 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

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ubuntu VNC server rejects access by client 7 143
Vmware tools installation in ubuntu 14.04 11 98
Linux on a Dell PowerEdge 720 3 118
Linux Login using LDAP or Active Directory 4 115
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now