Quarantine cleaner script problem

Lindsay Snider lindsay at pa.net
Mon Dec 29 17:56:18 GMT 2003


Here is an alternate solution if you have tmpwatch:
cron:
/usr/sbin/tmpwatch --mtime 720 /var/spool/MailScanner/quarantine

-lindsay

On Mon, 2003-12-29 at 12:05, Julian Field wrote:
> Attached.
>
> At 16:49 29/12/2003, you wrote:
> >Do you have a copy of it that I could look at?
> >
> >-----Original Message-----
> >From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
> >Behalf Of Julian Field
> >Sent: Monday, December 29, 2003 9:38 AM
> >To: MAILSCANNER at JISCMAIL.AC.UK
> >Subject: Re: Quarantine cleaner script problem
> >
> >
> >At 16:13 29/12/2003, you wrote:
> > >I have the quarantine cleaner script, but it fails under solaris with
> > >the following error: syntax error at line 18: `year=$' unexpected can
> > >someone please give me an idea of how to fix it.
> >
> >What quarantine cleaner are you using? Mine doesn't contain "year"
> >anywhere. If /bin/bash exists, try changing the first line to say
> >#!/bin/bash instead of referring to /bin/sh. If, of course, it is a
> >shell script and not a perl script!
>
> ______________________________________________________________________
> --
> Julian Field
> www.MailScanner.info
> Professional Support Services at www.MailScanner.biz
> MailScanner thanks transtec Computers for their support
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
--
Lindsay Snider <lindsay at pa.net>



More information about the MailScanner mailing list