Identify if a message_part is an attachment ?

Aki Tuomi aki.tuomi at dovecot.fi
Tue Dec 27 12:25:14 UTC 2016


> On December 27, 2016 at 1:22 PM Sai Kiran Gummaraj <saikiran.gummaraj at gmail.com> wrote:
> 
> 
> Hello,
> 
> This is my first post to this group. I have read through the instructions
> before posting. I hope am doing the right thing. If not my sincere
> apologies.
> 
> I am in the process of developing a dovecot IMAP plugin (over v2.2.25). The
> plugin works with mdbox/sdbox which has ability to keep attachments as
> external references (via SiS POSIX). The plugin must enable fetching
> attachment from REDIS instead of local-store.
> 
> To accomplish this I was following dovecot via my debugger. I wanted to
> understand if there was a way to determine a message_part to be of an
> attachment type ?
> 
> Thanks.
> 
> --
> Regards,
> Sai Kiran

Hi!

Why not, instead, implement fs-redis driver and use that with SIS and let SIS worry about the deduplication?

Aki


More information about the dovecot mailing list