Control number of archives

Matthias Kellermann mkellermann at net-com.de
Thu Aug 24 10:14:28 IST 2006


Julian Field schrieb:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Martin Hepworth wrote:
>   
>> 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.
>>
>>     
> On Linux systems you will find it in /etc/cron.daily/clean.quarantine
> You just need to enable it (edit the script and you will see where, it's 
> obvious).
>
> - -- 
> Julian Field
> www.MailScanner.info
> Buy the MailScanner book at www.MailScanner.info/store
>
> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Desktop 9.5.0 (Build 1112)
> Comment: (pgp-secured)
> Charset: ISO-8859-15
>
> wj8DBQFE7Wk+EfZZRxQVtlQRApFrAJ9s+o1aYj3zMmXP77RWPY48MmAXcwCgqB17
> VN23823DrRmP+klKrcpQ60U=
> =BdgA
> -----END PGP SIGNATURE-----
>
>   
Alright - thanks!

Just edited the cronjob to delete the archives also. 
But would be nice if there will be an option in the MailScanner config 
too :)

Best regards,
Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20060824/c9878a17/attachment.html


More information about the MailScanner mailing list