Jack Knowlton: > I would like to add a custom header, something like "X-Abuse: if > spam/uce email ab...@mydomain.com". How should I go about, without > postfix adding the header twice (before and after dkimfilter-out)?
Wietse > See the discussion of receive_override_options in the FILTER_README > documentation (http://www.postfix.org/FILTER_README.html). Jack Knowlton: > Thanks. It does seem to work :) > > Now I would like to add another header, right under the X-Abuse. > How can I perform that? I tried with the same regex based on > /^Subject: .*/, but it doesn't seem to be adding both.. Postfix header/body_checks are not intended to provide a complete message content manipulation system. In this case, a Milter plug-in would be more appropriate. Applying header/body_checks etc. rules to output from header/body_checks rules would be unsafe. Wietse