Clearing a folder with dovecot
I know a lot less about dovecot than about cyrus, so I'm sure there's a straightforward answer out there for this. The Apple documentation for the mail server talks about emptying the junkmail and notjunkmail folders nightly, but there's no pointer to how to do that.
When I try 'dovecotd --exec-mail ext /usr/libexec/dovecot/expire-tool', which is what looked like the right command, I get:
Error: read(/private/var/run/dovecot/dict-server) failed: Remote disconnected
I do have expire and expire_dict set.
Is expire-tool the right thing to use? Is there anything in the Apple docs that talks about doing this? If not it seems like a big oversight...
Thanks.
Kevin Brock
When I try 'dovecotd --exec-mail ext /usr/libexec/dovecot/expire-tool', which is what looked like the right command, I get:
Error: read(/private/var/run/dovecot/dict-server) failed: Remote disconnected
I do have expire and expire_dict set.
Is expire-tool the right thing to use? Is there anything in the Apple docs that talks about doing this? If not it seems like a big oversight...
Thanks.
Kevin Brock
Mac Mini, Mac OS X (10.6.4)