[Dovecot] Compact all maildirs with dovecot-1.0.9?

2007-12-22 Thread Jeff Kowalczyk
I'm running dovecot-1.0.9 on Gentoo Linux. I recently observed a large increase in disk usage on this dedicated mailserver. I attribute it to high spam traffic and/or large attachments for legit email retained on the server. How can I run a command equivalent to an IMAP client's 'Compact Folder'

[Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Jeff Kowalczyk
I have some (Thunderbird client, dovecot-1.0.13, Maildir) users who get an appalling amount of spam-with-attachment, and it's causing backups to take an inordinate amount of time. I'll implement some quota and server-side spam management when I go to dovecot-1.1, but in the meantime: What is the

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Jeff Kowalczyk
On Thu, 12 Jun 2008 10:19:48 -0500, Kyle Wheeler wrote: > If you have a *TON* of messages in those folders (i.e. several > thousand), your shell may complain that there are too many arguments > to the rm command. If that happens, these may be better commands to > delete them: > > find /home/use

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Jeff Kowalczyk
On Thu, 12 Jun 2008 19:07:36 +0200, Alexander Prinsier wrote: > Jeff Kowalczyk wrote: >> Any thoughts on a variant using find -name that could safely iterate over >> /home/*/Maildir for all users? Otherwise I would script it in python. > > What about: > > find /home/

Re: [Dovecot] Need a quick, safe method to empty /home/user/Maildir/{.Junk, .Trash}

2008-06-12 Thread Jeff Kowalczyk
On Thu, 12 Jun 2008 13:25:31 -0400, Jeff Kowalczyk wrote: > find /home/*/Maildir/{.Junk,.Trash}/cur -type d My mistake, that only finds .Junk folders.

[Dovecot] How to pull /var/mail mbox leftovers to Maildirs?

2008-07-03 Thread Jeff Kowalczyk
I just got my preferred postfix+dovecot(-1.1.1) configuration working on Ubuntu 8.04 server. Users and Maildirs migrated, etc. I wasn't seeing inbound mail (in the email client) until I set: sudo postconf -e 'home_mailbox = Maildir/' Which I hadn't needed in the previous server's main.cf I have

Re: [Dovecot] mbox vs maildir

2007-06-29 Thread Jeff Kowalczyk
FWIW, I used imapsync for the data migrations of a) an old sendmail server with mbox format to a new server running postfix+dovecot, and b) and old and busted Microsoft SBS2000 Exchange instance to a new server running postfix+dovecot. Worked well in both cases, and the process left the original s