<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [NTLUG:Discuss] qmail, closing an open relay, and startup issues.</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Have you tried the rc.local file? In redhat the path is "/etc/rc.d/rc.local" I am not sure if it is the same in slcakware or not but probably so. The only bad thing about it is that you cannot tell it which runlevel to start in...it just gets started last. Perhaps rc.M does the same as rc.local though because I am not familiar with rc.M. Anyways, give rc.local a try.</FONT></P>
<P><FONT SIZE=2>T.J. Davis</FONT>
<BR><FONT SIZE=2>Southwestern A/G University</FONT>
<BR><FONT SIZE=2>Information Technology</FONT>
<BR><FONT SIZE=2>tjdavis@sagu.edu</FONT>
<BR><FONT SIZE=2>(972) 937-4010 ext. 1255</FONT>
<BR><FONT SIZE=2>1 Timothy 4:12</FONT>
</P>
<BR>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Richard Geoffrion [<A HREF="mailto:ntlug@rain.lewisville.tx.us">mailto:ntlug@rain.lewisville.tx.us</A>]</FONT>
<BR><FONT SIZE=2>Sent: Friday, March 22, 2002 1:38 PM</FONT>
<BR><FONT SIZE=2>To: discuss@ntlug.org</FONT>
<BR><FONT SIZE=2>Subject: [NTLUG:Discuss] qmail, closing an open relay, and startup</FONT>
<BR><FONT SIZE=2>issues.</FONT>
</P>
<BR>
<P><FONT SIZE=2>{Distro: Slackware 8}</FONT>
</P>
<P><FONT SIZE=2>Greetings once again all.</FONT>
</P>
<P><FONT SIZE=2>I've been amiss in my duties of closing an open qmail relay. I have finally</FONT>
<BR><FONT SIZE=2>gone through the steps and have it closed down. The unfortunate thing is</FONT>
<BR><FONT SIZE=2>that I can't get the SMTP server up and running automatically. I must</FONT>
<BR><FONT SIZE=2>always login to the server and execute the tcpserver command manually.</FONT>
</P>
<P><FONT SIZE=2>I disabled the smtp service from the /etc/inetd.conf file</FONT>
<BR><FONT SIZE=2>#smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env tcp-env</FONT>
<BR><FONT SIZE=2>/var/qmail/bin/qmail-smtpd</FONT>
</P>
<P><FONT SIZE=2>and added the line</FONT>
</P>
<P><FONT SIZE=2>tcpserver -x/etc/mail/tcp.smtp.cdb -u1002 -g102 0 smtp</FONT>
<BR><FONT SIZE=2>/var/qmail/bin/qmail-smtpd &</FONT>
</P>
<P><FONT SIZE=2>in my /etc/rc.d/rc.M script. Well, the SMTP server doesn't want to start</FONT>
<BR><FONT SIZE=2>from there and when started manually the service has just stopped or shut</FONT>
<BR><FONT SIZE=2>down a few times. There is mention of downloading another djb tool to use</FONT>
<BR><FONT SIZE=2>for starting up services, but quite frankly I'd rather not use that. I'd</FONT>
<BR><FONT SIZE=2>rather just use good ol fashion inetd to do my dirty work. (At least I</FONT>
<BR><FONT SIZE=2>THINK that's what I want..)</FONT>
</P>
<P><FONT SIZE=2>So...Can someone point me in the right direction on getting the smtp</FONT>
<BR><FONT SIZE=2>service? (or convert me to the use of yet another {seemingly} stinkin djb</FONT>
<BR><FONT SIZE=2>tool. @^@@#$ @^&&#$ **!* crackers! none of this would be so necessary if</FONT>
<BR><FONT SIZE=2>not for them! UG!</FONT>
</P>
<BR>
<P><FONT SIZE=2>-Richard</FONT>
</P>
<BR>
<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2><A HREF="http://www.ntlug.org/mailman/listinfo/discuss" TARGET="_blank">http://www.ntlug.org/mailman/listinfo/discuss</A></FONT>
</P>
</BODY>
</HTML>