init script
Jeany Zoita Jakobsen
Jeany.Zoita.Jakobsen at HARALDSPLASS.NO
Wed Apr 21 12:45:10 UTC 2004
I installed MailScanner, clamav and Mail-SpamAssassin, directly from source, tar files.
I tried to make init scripts for clamd, clam-milter and freshclam (becouse there are no init scripts for them)
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 :(
> -----Opprinnelig melding-----
> Fra: fedora-list-bounces at redhat.com [SMTP:fedora-list-bounces at redhat.com] På vegne av Alexander Dalloz
> Sendt: 20. april 2004 13:23
> Til: For users of Fedora Core releases
> Emne: ikke sensitiv
>
> Hi again,
>
> -----Opprinnelig melding-----
> Fra: fedora-list-bounces at redhat.com [SMTP:fedora-list-bounces at redhat.com] På vegne av Alexander Dalloz
> Sendt: 20. april 2004 13:23
> Til: For users of Fedora Core releases
> Emne: Re: (no subject)
>
> Am Di, den 20.04.2004 schrieb Jeany Zoita Jakobsen um 13:02:
>
> > Hi Duncan,
> > i just take the risk to write even i know i am breacking the netiqette.
> > I have installed on Linux-Fedora Core1 MailScanner as root, clamav-0.70-rc as root, Mail-SpamAssassin-2.63 as root.
>
> How did you install these things: as RPMs or from source?
>
> I used the ./install -sh. to install this packeges it meance that i have done it from the source, isnt it?
>
> I run
> # rpm -qa "clamav-0.70-rc"
> #
> it runs
>
> > Configured the files comliled and runed.
> > I put in clamav.config
> >
> > INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl
> > but also the line for spamassassin as described in INSTALL file.
>
> SpamAssassin is no milter application. You can not call it directly from
> within Sendmail.
>
> I ve got a spamassassin-milter and there its stay that i should call it directly from Sendmail.
>
> > When starting MailScanner i get:
> >
> > Starting MaiScanner daemons:
> > Incoming sendmail: WARNING: Xspamassassin : local socked name var/run/spamass.sock missing
> > WARNING: Xclamav: local socked name var/run/clamav/clamav-milter.sock missing
>
> That indicates that both sockets are not there when Sendmail starts.
> Thus complaining. For clamav it is certainly because the service was not
> started before the sendmail service starts.
> There its stay that clamd should start as a root first, but there is no starting services (comands)
> I belive that i miss something here.
>
> The SpamAssassin socket is a
> different thing, see above.
> This WARNING (Xspamassassin ) came right after i put the line in sendmail.mc, the same as (WARNING: Xclamav)
>
> > [OK]
> > Outgoing sendmail [OK]
> > MailScanner [OK]
> >
> >
> > Now i red about http://www.airride.net/linux/fedora+clamav-howto.html and installed again by following this rulles.
> >
> > when i run as root this:
> > # make -C etc/mail
> > i get:
> > # make: Entering directory "etc/mail"
> > # make: Nothing to be done for 'all'
> > #make: Leaving directory "etc/mail"
>
> No changes in the configuration files, so make has nothing to do.
>
> I did put this line :
> INPUT_MAIL_FILTER(`clamav', `S=local:/var/run/clamav/clamav-milter.sock, F=, T=S:4m;R:4m')dnl
> saved and i tryed the next step:
> #for i in `echo clamd clamav-milter freshclam sendmail`; do /sbin/chkconfig --level 2345 $i on; done
>
>
> > when i run as root this:
> > #for i in `echo clamd clamav-milter freshclam sendmail`; do /sbin/chkconfig --level 2345 $i on; done
> >
> > i get:
> > can not find information about service clamd: No such of file or filecatalog
> > can not find information about service clamav-milter: No such of file or filecatalog
> > can not find information about service freshclam: No such of file or filecatalog
>
> There are then no chkconfig compatible init scripts or maybe even not
> any init script for these services.>
> Check the content of /etc/init.d.
>
> Here you are right, again. in etc/init.d are no init script.
> Any ideea how can i put them there?
>
> Again: how did you install the 3 services? Run: rpm -qa "*clam*"
>
> After running
> # rpm -qa "*clam*"
> #
> i get nothing but it runnes.
>
>
> > I have specified clamav in my MSconf file in this way:
> > Virus Scanners = clamav.
>
> Are you sure you understand what you do there? If you call clamav
> through milter, why do you want to call it again through MailScanner?
> My gol is to use MailScanner with sendmail, to get rid of virus and spam.
>
>
> Well, in MailScanner .conf it is a line:
> Virus Scanners =none
>
> Therefor i put there
> Virus Scanners = clamav
>
> But i didn belive that it should be an impediment.
>
> Jeany
>
> > Well do you belive that i forgot to do sommething?
> > Thanks in advance,
> > Jeany
>
> Alexander
>
>
> --
> Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
> Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl
> Sirendipity 13:15:01 up 1 day, 20:00, load average: 1.34, 1.23, 1.24
> [ ????? ?'????? - gnothi seauton ]
> my life is a planetarium - and you are the stars <<Fil: Dies ist ein digital signierter Nachrichtenteil>> <<Fil: ATT195180.txt>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040421/ff6c2889/attachment-0001.htm>
More information about the fedora-list
mailing list