[Mimedefang] Playing with headers

David F. Skoll dfs at roaringpenguin.com
Mon May 8 15:51:28 EDT 2006


evaldas at zaib.as wrote:

> 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():

You can't change "top-level" headers that way, because Sendmail requires
special milter calls to change headers.

Instead, use "action_change_header".

Also, changing the CC header won't actually change who gets the mail.
You need to use add_recipient and/or delete_recipient to modify the
envelope recipients.

--
David.



More information about the MIMEDefang mailing list