On Wed, February 22, 2012 1:20 am, Wietse Venema wrote: > Jack Knowlton: >> Hi guys. >> My mailserver uses a relayhost which basically only signs messages with >> DKIM and delivers them. >> 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)? > > See the discussion of receive_override_options in the FILTER_README > documentation (http://www.postfix.org/FILTER_README.html). > > Wietse >
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.. -JK