Control number of archives

Martin Hepworth martinh at solid-state-logic.com
Thu Aug 24 09:34:37 IST 2006


Matthias Kellermann wrote:
> Hello everyone,
> 
> I'm using MailScanner with postfix and its working fine.
> 
> All the mail is archived under /var/spool/MailScanner/archive/YYYYMMDD.
> This is ok but how can I control the number of days that are archived 
> there? I didn't find any options for that in the config file. A number 
> of 7 would be great so the /var partition won't run out of space :)
> 
> Best regards,
> Matthias
Matthias

there's a seperate cron job in the bin/cronjobs directory that you can 
set to run once per day and clean out 'old' stuff.

-- 
Martin Hepworth
Senior Systems Administrator
Solid State Logic
Tel: +44 (0)1865 842300

**********************************************************************

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote confirms that this email message has been swept
for the presence of computer viruses and is believed to be clean.	

**********************************************************************



More information about the MailScanner mailing list