Rather than modify the script, just create a temp imap folder... 'temp-spam' or something and move half of the messages there temporarily. Run the script. After completion move them back and run again. Hopefully it will complete successfully.
-Chris From: Kyle Quillen [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 11:41 AM To: qmailtoaster-list@qmailtoaster.com Subject: RE: [qmailtoaster] Error Running qtp-clean-spam any insight on how to modify the script? I do not know scripting all that well and don't want to botch things Thanks Q ________________________________ From: Jake Vickers [mailto:[EMAIL PROTECTED] Sent: Mon 12/8/2008 1:36 PM To: qmailtoaster-list@qmailtoaster.com Subject: Re: [qmailtoaster] Error Running qtp-clean-spam Kyle Quillen wrote: Hello all, When I try to run the qtp-clean-spam script it comes back with an error message that finds argument list is too long. Can anyone point in a direction as to how to clear this up. You have too many messages in one folder - you can either break the messages up into 2 directories and learn them that way, or modify the script to use another find command to pipe the output to the sa-learn command.