I've got a question that isn't so SuSE-ish, but of interest just the same. I'm starting to use the Courier-imap server rather than the uw-imap server and I have a question about batch processing of spam. Typically what I do is sort email into folders to allow for corrections to the bayesian filters in case then got any of it backwards. I then run a crontab job to make all the corrections and then delete the old emails. Under mbox format this was easy, I could just do something like: sa-learn --ham < mbox_file && > mbox_file Under cyrus I tried something similar where I would read each file in seperately and then delete it. That fried my imap server for a few days. I'm more than a little reluctant to try it like that again. So, I'm asking, how would you go about reading in lots of emails for processing (spamassassin, bogofilter, razor) and then deleting them? Originally I thought I could take all the mail and store it into an mbox format, which would be very effective for batch processing, but courier-imap won't have any of that.