RELOADING

Julian Field mailscanner at ecs.soton.ac.uk
Sun Oct 20 20:21:37 IST 2002


At 20:11 20/10/2002, you wrote:
>Hi,
>
>I have tried the to reloading MailScanner version 4 but get the
>following error message:
>
> >With MailScanner V4, you can do a
> >          /etc/rc.d/init.d/MailScanner reload
>
>/etc/MailScanner/rules>/etc/rc.d/init.d/MailScanner reload
>Reloading MailScanner:                                     [  OK  ]
>MailScanner caught a SIGHUP -- re-reading configuration at
>/usr/sbin/MailScanner line 404
>Could not get to parent of incoming work directory at
>MailScanner/WorkArea.pm line 102.

I think you have version 3 running as well.
Do a
         ps ax | grep -i mail
and kill them all off. Then do
         service MailScanner start
(or /etc/rc.d/init.d/MailScanner start if you don't have the "service"
command).

> > -----Original Message-----
> > From: MailScanner mailing list
> > [mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Julian Field
> > Sent: Friday, October 11, 2002 4:26 PM
> > To: MAILSCANNER at JISCMAIL.AC.UK
> > Subject: Re: RELOADING
> >
> >
> > At 15:18 11/10/2002, you wrote:
> > >This rc file isn't in the tarball.  I'm still using kill but
> > it leaves
> > >proc ids in the var directory and the temp folder of each process in
> > >incoming.  I take it that the rc file will shutdown cleanly
> > and cleanup
> > >properly, correct?
> >
> > I had intended "kill -HUP" to cleanly delete the temp folder
> > and the proc
> > id in the var directory. I'll have to take a look at why that isn't
> > happening as I intended.
> >
> >
> > >-----Original Message-----
> > >From: Julian Field [mailto:mailscanner at ECS.SOTON.AC.UK]
> > >Sent: Friday, October 11, 2002 7:30 AM
> > >To: MAILSCANNER at JISCMAIL.AC.UK
> > >Subject: Re: RELOADING
> > >
> > >
> > >At 11:44 11/10/2002, you wrote:
> > > >I have some servers that get there domain/accounts
> > information from a
> > > >database, this information is changed frequently and must
> > be activated
> > > >on sort time. Is there a way to let mailscanner reload there config
> > > >without restarting the whole service?
> > >
> > >With MailScanner V4, you can do a
> > >          /etc/rc.d/init.d/MailScanner reload
> > >Take a look at the init.d script. You are basically trying
> > to do a "kill
> > >-HUP" on all the MailScanner processes.
> > >--
> > >Julian Field                Teaching Systems Manager
> > >jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> > >Tel. 023 8059 2817          University of Southampton
> > >                              Southampton SO17 1BJ
> >
> > --
> > Julian Field                Teaching Systems Manager
> > jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
> > Tel. 023 8059 2817          University of Southampton
> >                              Southampton SO17 1BJ
> >

--
Julian Field                Teaching Systems Manager
jkf at ecs.soton.ac.uk         Dept. of Electronics & Computer Science
Tel. 023 8059 2817          University of Southampton
                             Southampton SO17 1BJ



More information about the MailScanner mailing list