[Dovecot] Proprietary mail storage.
robert at schetterer.org
Wed Aug 31 18:04:27 EEST 2011
Am 31.08.2011 16:52, schrieb Timo Sirainen:
> 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 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
are there any examples or how too online for mail-filter ?
> 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.
MfG Robert Schetterer
More information about the dovecot