On Tue, 2010-06-29 at 11:23 -0300, Alex Baule wrote: > There is some function like this mail_get_special, to get a header value ? > > like "get_header_value(mail,"HEADERFIELD", &value);" ?? lib-storage/mail-storage.h and http://wiki.dovecot.org/Design/Storage/Mail describe different ways of getting stuff. There's mail_get_first_header().