[Mimedefang] SA can't find header inserted by MD

David F. Skoll dfs at roaringpenguin.com
Thu Sep 4 07:25:02 EDT 2003


On Thu, 4 Sep 2003, Cahya Wirawan wrote:

> Actually I want to have SpamAssassin's whitelisting based on envelope sender
> and envelope recipient, and because my sendmail don't write envelope sender
> and envelope recipient I inserted 2 headers with mimedefang, I do it in
> filter_sender and filter_recipient:

What you are trying to do will fail for two reasons:

1) Variables set in filter_sender or filter_recipient are not guaranteed to
be visible in filter_end.

2) action_add_header merely makes a note for Sendmail to add a header; it
doesn't actually modify what SA sees.

--
David.



More information about the MIMEDefang mailing list