[Mimedefang] change_header doesn't add header

David F. Skoll dfs at roaringpenguin.com
Thu Nov 24 12:27:52 EST 2005


Marco Berizzi wrote:

> The last row is action_change_header("Precedence", "bulk");

Hmmm... That should work.  It eventually boils down to a
smfi_chgheader call into libmilter that looks like this:

    smfi_chgheader(ctx, "Precedence", 1, "bulk");

And according to http://www.milter.org/milter_api/smfi_chgheader.html,

"Header index value (1-based). A hdridx value of 1 will modify the
 first occurrence of a header named headerf. If hdridx is greater than
 the number of times headerf appears, a new copy of headerf will be
 added."

Maybe try turning Milter logging way up and see what it says?

O Milter.LogLevel=99 in sendmail.cf, or define(`confMILTER_LOG_LEVEL', `99')
in sendmail .mc

Regards,

David.



More information about the MIMEDefang mailing list