Phil Leinhauser wrote:
Thanks for the info Dave. I did just what you described except I pushed it to a text file so I could see better what was happening.

I ran it with the 5 day setting and didn't get anything. Then I dropped it to 2 days and got a list. The script is apparently working but only on about half of the domains. I have other domains that never made it into the output.txt file. I know there is trash there because I have one user with over 3000 messages.

I guess now the question is, does the script just delete everything older than DELTIME? or is it looking for something to only get messages? I see in the output that it looks like it's going to delete some index and dovecot-uidlist files. Is this ok?

It probably shouldn't delete these files, but I don't think it will hurt anything. Dovecot is very robust and will fix things on the fly that get wacked out. If you give me the exact file names I can add an exception to the script.

What can I do to see why it's not finding all of the old messages?.

Do you have this statement in your script?:
        for each in "${PATH_TRASH}" ; do
Try removing the quotes and see if that fixes it.

The qtp-clean-spam script had the same bug that was fixed last December. Looks like I missed fixing the qtp-clean-trash script.

--
-Eric 'shubes'


---------------------------------------------------------------------------------
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: qmailtoaster-list-unsubscr...@qmailtoaster.com
    For additional commands, e-mail: qmailtoaster-list-h...@qmailtoaster.com


Reply via email to