quarantine password-protected files
Julian Field
mailscanner at ecs.soton.ac.uk
Thu Aug 10 22:50:54 IST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
James D. Parra wrote:
>> I have been just storing all messages for a short period of time. Then you
> can
>> release anything you need to, and you can set up the system to kill after a
>> set number of days. Mailwatch makes this even easier.
>
> Hello Scott,
>
> How do you set this up if you're not using mailwatch?
To clean out your quarantine regularly, with a variable limit on how
long you keep files, take a look in /etc/cron.daily/clean.quarantine.
There are a couple of settings at the top that you might want to change.
1) $disabled = 1;
Set this to 0 if you want to enable this process at all.
2) $days_to_keep = 30;
This is, as it says, the number of days you want to keep in the quarantine.
Just change those 2 numbers and save the file. It will enable itself,
you don't need to type anything to make it go.
- --
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at MailScanner.biz
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Get your PCs and servers from Transtec.de, very well built and reliable!
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.7.0
Charset: ISO-8859-1
wj8DBQFE26pCEfZZRxQVtlQRAnCjAKCwWMVoA01oOE3loL0KGJ+sthlf5gCfSyB9
S5uqDdDdUTIhOGWXxmzaHZo=
=7ga2
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
For all your IT requirements visit www.transtec.co.uk
More information about the MailScanner
mailing list