Chris Babcock wrote: > On Sat, 08 Aug 2009 11:24:55 +0200 > Per Jessen <p...@computer.org> wrote: > >> I'd like to treat the original and the bcc copy slightly different >> based on their content. Basically: >> >> a) original: if headerX matches condition1, override transport to >> divert email. >> >> b) bcc-copy: if headerX matches condition2, override transport to >> discard email. > [snip] > How about the root issue? You either got an "always BCC" configured > that you don't want or a specific class of Spam that can probably be > handled in a better way. Which is it?
I want to use recipient_bcc_maps to create an archive copy of inbound email after it has been filtered. My filtering just marks (with a header) the email as yes/no, which is what my "condition1" from above works on. The problem is that my bcc copy needs to go somewhere else, so I would essentially need a different set of header_checks. I thought I might have been able to work some magic with the if-endif construct in header_checks, but I realise I didn't quite understand how it worked. /Per Jessen, Zürich