[Dovecot] plugin problem

Johannes Berg johannes at sipsolutions.net
Sun Sep 30 11:48:54 EEST 2007


On Sat, 2007-09-29 at 19:43 -0300, "Fábio M. Catunda" wrote:
> I'm almost there, look, from my log:
> FROM=Spam FILE=1191103168.P24773Q0M499718.fabio TO=INBOX
> 
> Looks perfect, but it's not. The real filename is
> 1191105530.P22847Q0M112390.fabio:2,Sa
> and not
> 1191103168.P24773Q0M499718.fabio
> 
> I'm using this function to get filename:
> filename = mail_get_special(mail, MAIL_FETCH_UIDL_FILE_NAME);
> 
> Anybody knows why the filename is returned incomplete?

I guess it gives you the base filename since the stuff after that is
some flags etc. in maildir with special meaning which also changes when
you mark the message read/unread/....

johannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070930/4274b6c7/attachment-0001.bin 


More information about the dovecot mailing list