<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> is: init script </TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<UL><UL>
<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I installed MailScanner, clamav and Mail-SpamAssassin, directly from source, tar files.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I tried to make init scripts for clamd, clam-milter and freshclam (becouse there are no init scripts for them)</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">by seting in inittab default run level to 3, but there was a catastroffe. I changed to 5 now, but i have not done enything with my initiall trouble, yet and the day is off :(  </FONT></SPAN></P>
<BR>
<BR>
</UL>
<P><SPAN LANG="no"><FONT SIZE=1 FACE="Arial">-----Opprinnelig melding-----</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Fra:   </FONT></B> <FONT SIZE=1 FACE="Arial">fedora-list-bounces@redhat.com [SMTP:fedora-list-bounces@redhat.com]</FONT><B></B><B> <FONT SIZE=1 FACE="Arial">På vegne av</FONT></B><FONT SIZE=1 FACE="Arial"> Alexander Dalloz</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Sendt: </FONT></B> <FONT SIZE=1 FACE="Arial">20. april 2004 13:23</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Til:   </FONT></B> <FONT SIZE=1 FACE="Arial">For users of Fedora Core releases</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Emne:  </FONT></B> <FONT SIZE=1 FACE="Arial">ikke sensitiv</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Hi again,</FONT></SPAN>
</P>
<UL>
<P><SPAN LANG="no"><FONT SIZE=1 FACE="Arial">-----Opprinnelig melding-----</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Fra:   </FONT></B> <FONT SIZE=1 FACE="Arial">fedora-list-bounces@redhat.com [SMTP:fedora-list-bounces@redhat.com]</FONT><B></B><B> <FONT SIZE=1 FACE="Arial">På vegne av</FONT></B><FONT SIZE=1 FACE="Arial"> Alexander Dalloz</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Sendt: </FONT></B> <FONT SIZE=1 FACE="Arial">20. april 2004 13:23</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Til:   </FONT></B> <FONT SIZE=1 FACE="Arial">For users of Fedora Core releases</FONT></SPAN>

<BR><SPAN LANG="no"><B><FONT SIZE=1 FACE="Arial">Emne:  </FONT></B> <FONT SIZE=1 FACE="Arial">Re: (no subject)</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Am Di, den 20.04.2004 schrieb Jeany Zoita Jakobsen um 13:02:</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Hi Duncan,</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> i just take the risk to write even i know i am breacking the netiqette.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> I have installed on Linux-Fedora Core1 MailScanner as root, clamav-0.70-rc as root, Mail-SpamAssassin-2.63 as root.</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">How did you install these things: as RPMs or from source?</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I used the ./install -sh. to install this packeges it meance that i have done it from the source, isnt it?</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I run </FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"># rpm -qa "clamav-0.70-rc"</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">#</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">it runs </FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Configured the files comliled and runed. </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> I put in clamav.config </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> but also the line for spamassassin as described in INSTALL file. </FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">SpamAssassin is no milter application. You can not call it directly from</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">within Sendmail.</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I ve got a spamassassin-milter and there its stay that i should call it directly from Sendmail.</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> When starting MailScanner i get:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Starting MaiScanner daemons:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">>       Incoming sendmail: WARNING: Xspamassassin : local socked name var/run/spamass.sock missing </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">>                                    WARNING: Xclamav: local socked name var/run/clamav/clamav-milter.sock missing </FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">That indicates that both sockets are not there when Sendmail starts.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Thus complaining. For clamav it is certainly because the service was not</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">started before the sendmail service starts.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">There its stay that clamd should start as a root first, but there is no starting services (comands)</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I belive that i miss something here. </FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial"> The SpamAssassin socket is a</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">different thing, see above.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">This WARNING</FONT><FONT SIZE=2 FACE="Arial"> (Xspamassassin )</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial"> came right after i put the line in sendmail.mc, the same as</FONT> <FONT SIZE=2 FACE="Arial"> (WARNING: Xclamav)</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">>                                                                       [OK]</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">>       Outgoing sendmail                                               [OK]</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">>       MailScanner                                                     [OK]</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Now i red about <A HREF="http://www.airride.net/linux/fedora+clamav-howto.html">http://www.airride.net/linux/fedora+clamav-howto.html</A> and installed again by following this rulles.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> when i run as root this:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> # make -C etc/mail</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> i get:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> # make: Entering directory "etc/mail" </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> # make: Nothing to be done for 'all'</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> #make:  Leaving directory "etc/mail"</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">No changes in the configuration files, so make has nothing to do.</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">I did put this line :</FONT></SPAN>
</UL>
<P><SPAN LANG="no"><FONT FACE="Times New Roman">      INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl</FONT></SPAN>
<UL>
<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">saved and i tryed the next step:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial"> #for i in `echo clamd clamav-milter freshclam sendmail`; do /sbin/chkconfig --level 2345 $i on; done</FONT></SPAN>
</P>
<BR>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> when i run as root this</FONT><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> #for i in `echo clamd clamav-milter freshclam sendmail`; do /sbin/chkconfig --level 2345 $i on; done</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> i get:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> can not find information about service clamd: No such of file or filecatalog</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> can not find information about service clamav-milter: No such of file or filecatalog</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> can not find information about service freshclam: No such of file or filecatalog</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">There are then no chkconfig compatible init scripts or maybe even not</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">any init script for these services.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial"> Check the content of /etc/init.d.</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Here you are right, again. in etc/init.d are no init script.</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Any ideea how can i put them there? </FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Again: how did you install the 3 services? Run: rpm -qa "*clam*"</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">After running </FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">#</FONT> <FONT SIZE=2 FACE="Arial">rpm -qa "*clam*"</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">#</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">i get nothing but it runnes. </FONT></SPAN>
</P>
<BR>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> I have specified clamav in my MSconf file in this way:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Virus Scanners = clamav.</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Are you sure you understand what you do there? If you call clamav</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">through milter, why do you want to call it again through MailScanner?</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">My gol is to use MailScanner with sendmail, to get rid of virus and spam. </FONT></SPAN>
</P>
<BR>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Well, in MailScanner .conf it is a line:</FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Virus Scanners =none</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Therefor i put there </FONT></SPAN>

<BR><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Virus Scanners = clamav</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">But i didn belive that it should be an impediment.</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT COLOR="#0000FF" SIZE=2 FACE="Arial">Jeany</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Well do you belive that i forgot to do sommething?</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Thanks in advance,</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">> Jeany</FONT></SPAN>
</P>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Alexander</FONT></SPAN>
</P>
<BR>

<P><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">-- </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">Sirendipity 13:15:01 up 1 day, 20:00, load average: 1.34, 1.23, 1.24 </FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial Greek">                   [ Γνωθι σ'αυτον - gnothi seauton ]</FONT></SPAN>

<BR><SPAN LANG="no"><FONT SIZE=2 FACE="Arial">             my life is a planetarium - and you are the stars <<Fil: Dies ist ein digital signierter Nachrichtenteil>>  <<Fil: ATT195180.txt>> </FONT></SPAN></P>
</UL></UL>
</BODY>
</HTML>