2009/8/24 Justin C. Le Grice <mailingli...@legrice.co.nz>:
> I am new to the world of postfix. I have managed to successfully implement
> Postfix etc using workaround.org's excellent guide.
>
> My current item on the wish list is how to sweep items from the users Spam
> folders after a defined number of days.

This is the Postfix list, Postfix is only an MTA. It does not deal
with serving mailboxes. That said...

> I have located this script from http://moze.koze.net/?p=161
>
<snip>
> My guess as to what this does is the following

You really don't want to be guessing here - it could wipe out your
system for all you know. The script should have documentation. If not,
you need to learn up on shell scripting.

> 1. Find any occurances of .Spam directory under /var/vmail
>
> 2. for each .Spam directory found, locate and delete any items found in new
> and cur directories over 365 days old.
>
> Am I correct here?

That sounds about right.

> If so what do I do with this script

You run it, however you want.

> and how do I use it in a weekly cron
> job?

Put it in a weekly cronjob.


I don't mean to come off as rude, but these aren't really good
questions, relevant or otherwise.

Reply via email to