Hy,

Try it with the command "find" and the file age or so.

i have a cleaner script for quarantine stuff like this:

# /bin/nice /usr/bin/find $quarantine/.spam -type f -mtime +$qage -
exec /bin/rm '{}' \;

every file this is older in days ($qage) will be erased.

you can change some flags and commands to build your solution.

hope it helps

On Fri, 2005-07-29 at 21:40 +0000, john squid wrote:
> hello:
> 
> i am a bit confused in how to archive a users data. i have a user who wants 
> me to archive 11 months of his email. can someone please help with what 
> command i need to perform this action?
> 
> I have already tared all of his personal data but i need to know how to only 
> archive only messages within the prior months.
> 
> any help would be greatly appreciated.
> 
> thank you.
> 
> tony
> 
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
> _______________________________________________
> courier-users mailing list
> [email protected]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
> 



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to