[Mimedefang] Playing with headers

evaldas at zaib.as evaldas at zaib.as
Mon May 8 15:18:01 EDT 2006


Greetings to all,

I'm trying to play with CC headers in mimedefang-filter, but message is
not altered at all, what I do is in filter_end():

  my $head = $entity->head;
  @CCin = $head->get('Cc');
  ..play_with_CCin, push it into CCout, then if it's modified..:
    $head->replace('Cc', at CCout);
    $entity->head($head);
    $retcode = replace_entire_message($entity);

the $retcode shows 1, meaning ok, and I log the contents of CCout - all
looks good, but the final message is still unmodified, am I using wrong
approach?

Thanks.






More information about the MIMEDefang mailing list