On 07.02.2011 23:14, Julien Vehent wrote:
rcube_imap must know what headers do you expect.
// get dspam signature header (%s macro) if(preg_match("/%s/",$command)){
$RCMAIL->imap->fetch_add_headers .= ' x-dspam-signature';
$MESSAGE = new rcube_message($uid); $dspam_signature = $MESSAGE->get_header('x-dspam-signature');
or set 'fetch_headers' variable of imap_init hook. See show_additional_headers plugin.