Lucas G. Obredor wrote:

Hi.
I was wondering if there is a way to set the vpopmail in order to erase the mailboxes that haven't been used for a long time.
Any idea ?

find /home/vpopmail/domains/yourdomain/*/Maildir/new -type f -ctime +90|awk -F"/" '{print $6}'
stupid and quick.. but that will tell you accounts that have mail in their Maildir/new dir (not checked) for 90 days or older..




Reply via email to