First, I want to thank all the people that answer to my problem. The use of "ls -lu" is a good choice, but I still have a problem.
If you have mail in your mailbox and you check it, the access time is modified. If you DON'T have mail, the access time is NOT modified. And that's a problem. If I do want to know only when mailbox are accessed, I have to combine the "ls -lu" with the .cache file. Isn't it another solution ? Thanks again Stephane -----Message d'origine----- De : Alan Brown [mailto:[EMAIL PROTECTED] Envoyé : dimanche 16 mars 2003 15:00 À : Chip Old Cc : Subscribers of Qpopper Objet : Re: .cache problem On Sat, 15 Mar 2003, Chip Old wrote: > To delete all mailboxes that have not been accessed in the past 30 > days, use `find /var/mail -atime +30 -print -exec rm {} \;' . That > will list each offending mailbox, then delete it. cat /dev/null > $mailbox is usually safer than rm, especially in systems where the mail spool directory isn't set 1777. (Some people _are_ that paranoid)