<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: [NTLUG:Discuss] qmail, closing an open relay, and startup issues.</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Sorry about that!&nbsp; I went back and looked and 
as a troubleshooting step I HAD put it in rc.local.&nbsp; Still no go.&nbsp; 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Is there a way to convert this to a line that can 
be used in inetd.conf?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=TJDavis@sagu.edu href="mailto:TJDavis@sagu.edu">TJ Davis</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=discuss@ntlug.org 
  href="mailto:'discuss@ntlug.org'">'discuss@ntlug.org'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, March 22, 2002 2:05 
PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> RE: [NTLUG:Discuss] qmail, 
  closing an open relay, and startup issues.</DIV>
  <DIV><BR></DIV>
  <P><FONT size=2>Have you tried the rc.local file?&nbsp; In redhat the path is 
  "/etc/rc.d/rc.local"&nbsp; I am not sure if it is the same in slcakware or not 
  but probably so.&nbsp; The only bad thing about it is that you cannot tell it 
  which runlevel to start in...it just gets started last.&nbsp; Perhaps rc.M 
  does the same as rc.local though because I am not familiar with rc.M.&nbsp; 
  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.&nbsp; I have finally</FONT> <BR><FONT size=2>gone through the steps and 
  have it closed down.&nbsp; The unfortunate thing is</FONT> <BR><FONT 
  size=2>that&nbsp; I can't get the SMTP server up and running 
  automatically.&nbsp;&nbsp; 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 &amp;</FONT> </P>
  <P><FONT size=2>in my /etc/rc.d/rc.M script.&nbsp; 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.&nbsp; 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.&nbsp; I'd</FONT> <BR><FONT size=2>rather just use good ol 
  fashion inetd to do my dirty work.&nbsp; (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.&nbsp; @^@@#$ 
  @^&amp;&amp;#$ **!* crackers!&nbsp; none of this would be so necessary 
  if</FONT> <BR><FONT size=2>not for them!&nbsp; 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></BLOCKQUOTE></BODY></HTML>