[Mimedefang] replace_entire_message() help
Dianne Skoll
dfs at roaringpenguin.com
Fri Nov 17 11:00:53 EST 2017
On Fri, 17 Nov 2017 07:46:00 -0800
"Michael Fox" <news at mefox.org> wrote:
> 1) When building $new_entity, does every field need to be included?
Yes.
> Or will extra info be copied from the existing $entity?
No, unless you arrange for that in your code.
> 2) I can't figure out how to replace the Subject header - even with a
> string literal. For example, suppose I have the following in
> filter_end():
You can't replace top-level headers this way. You need to use
action_change_header(...)
> What comes through the filter (received in the user's mailbox) is a
> text/plain message with the original subject and the replacement
> body. What am I doing wrong?
See above!
Regards,
Dianne.
More information about the MIMEDefang
mailing list