Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

Suggested Solutions

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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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