I just decided to start running qtprune.  It's the first time I've run it.
I'll cron it once I'm happy with the results.  What I see in the script is
that it seems to be looking in the .Trash folder.  The problem is that the
trashed messages are actually in the .Trash/cur folder.  Therefore, qtprune
doesn't find them.  In fact, all of my folders are in the .something/cur
folder.  

2 questions:
1- Is this because of dovecot?  I don't ever remember the folder structure
before dovecot.
2- How can I change the script to get them? 
PATH_TRASH="`find /home/vpopmail/domains -type d -name .Trash`" is the line
in the script and I tried to change it to .Trash/cur but I got an error:

find: warning: Unix filenames usually don't contain slashes (though
pathnames do).  That means that '-name .Trash/cur' will probably evaluate to
false all the time on this system.  You might find the '-wholename' test
more useful, or perhaps '-samefile'.  Alternatively, if you are using GNU
grep, you could use 'find ... -print0 | grep -FzZ .Trash/cur'.

So, any ideas?  I'm not a linux scripter...

Thanks,
Phil


---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group 
(www.vickersconsulting.com)
    Vickers Consulting Group offers Qmailtoaster support and installations.
      If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
     Please visit qmailtoaster.com for the latest news, updates, and packages.
     
      To unsubscribe, e-mail: [email protected]
     For additional commands, e-mail: [email protected]


Reply via email to