[Mimedefang] adding in x-header
David F. Skoll
dfs at roaringpenguin.com
Tue Aug 10 13:38:48 EDT 2004
On Tue, 10 Aug 2004, Lucas Albers wrote:
> When you add in a new x-header, at what point is the x-header part of the
> message?
If you mean adding the header with action_add_header(), it doesn't happen
until after MIMEDefang returns control to Sendmail.
If you want SpamAssassin to see the header, you need to roll your own
function that rewrites the INPUTMSG file.
> Don't I need to do some sort of message_rebuild before calling the sa check?
That won't do it. action_rebuild just sets a flag telling mimedefang.pl
to rebuild the message after filter_end returns.
Regards,
David.
More information about the MIMEDefang
mailing list