<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Julian Field schrieb:
<blockquote cite="mid44ED693E.9040406@ecs.soton.ac.uk" type="cite">
<pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Martin Hepworth wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Matthias Kellermann wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->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
<a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info">www.MailScanner.info</a>
Buy the MailScanner book at <a class="moz-txt-link-abbreviated" href="http://www.MailScanner.info/store">www.MailScanner.info/store</a>
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-----
</pre>
</blockquote>
Alright - thanks!<br>
<br>
Just edited the cronjob to delete the archives also. <br>
But would be nice if there will be an option in the MailScanner config
too :)<br>
<br>
Best regards,<br>
Matthias<br>
<br>
</body>
</html>