[Dovecot] Proprietary mail storage.

Timo Sirainen tss at iki.fi
Thu Sep 1 04:34:48 EEST 2011


Should work fine.

On 31.8.2011, at 22.19, Alex Cherniak wrote:

> Thanks, Timo.
> Technically, it's not a Maildir, but my plan is to re-create one with
> folders containing hard or symbolic links pointing to the real
> storage. Is it going to be a problem?
> 
> On Wed, Aug 31, 2011 at 10:52 AM, Timo Sirainen <tss at iki.fi> wrote:
>> On 31.8.2011, at 17.24, Alex Cherniak wrote:
>> 
>>> I have a large existing read-only collection of mails packaged in
>>> individual zip files as <rfc822 file>+<some additional info>. Is it
>>> possible (and how difficult) to create a proprietary plugin (like
>>> gzip) which will open a zip file, extract mail and pass it back to
>>> Dovecot? Where do I start? If plugin is not the right approach, what
>>> is?
>> 
>> Is it otherwise a Maildir? If yes, you could base your code on the zlib plugin, or perhaps more easily you could use mail-filter plugin: http://dovecot.org/patches/2.0/mail-filter.tar.gz
>> 
>> With mail-filter you can basically just put the messages through whatever program/script you want which gets the mail as input and outputs the wanted message body. I think the v2.0 mail-filter had some (potential?) bug, v2.1 mail-filter is anyway redesigned and should work perfectly.
>> 
>>> Another question is how will this affect Dovecot performance and how
>>> to avoid any significant degradation.
>> 
>> I doubt it's going to be a problem.
>> 
>> 
> 



More information about the dovecot mailing list