On Thu, 2010-08-26 at 20:32 +0100, Timo Sirainen wrote:
http://hg.dovecot.org/dovecot-2.0-sis contains the code for it. Otherwise it's the latest (as of writing this) dovecot-2.0 hg tree. Please test if you're interested in SIS. :)
One more point that I have to remember to mention once I write its wiki page: The attachment handling code is NFS safe, because it never modifies existing files. So there won't be problems with using director to distribute users to different servers and still all servers accessing the common attachment storage.
Another thing I just remembered: The code currently uses 0600 / 0700 permissions for everything. I guess it should take the permissions from /attachments directory and preserve them for all the subdirs/files.