[Dovecot] Expunge email Plugin

Timo Sirainen tss at iki.fi
Tue Jun 29 15:23:27 EEST 2010


On Sat, 2010-06-26 at 12:59 -0300, Alex Baule wrote:
> I use the notify plugin as a base to my plugin.
> 
> So, i need the filename from the expunged mail, to use to search my other
> file to erase.
> 
> What's the way to find the filename ? I thy to get by i_stream_get_name, but
> i'm lost with the input istream to get this.

This gives you the base filename:

mail_get_special(mail, MAIL_FETCH_UIDL_FILE_NAME, &fname)




More information about the dovecot mailing list