Wietse Venema: > Admin Beckspaced: > > http://www.postfix.org/postconf.5.html#milter_header_checks > > This may not work. The header_checks BCC was feature was added in > Postfix 3.0, many years after Milter support was implemented in > Postfix 2.3, and I don't think that there is a BCC handler for the > end-of-data phase. It's not impossible to implement, but I don't > see any code for it, and I don't have time to do that now.
It is supposed to work. Here is the code that handles it in cleanup_milter.c: if (STREQUAL(command, "BCC", cmd_len)) { if (strchr(optional_text, '@') == 0) { msg_warn("bad BCC address \"%s\" in %s map -- " "need user@domain", optional_text, VAR_MILT_HEAD_CHECKS); } else { cleanup_milter_hbc_log(context, "bcc", where, buf, optional_text); /* Caller checks state error flags. */ (void) cleanup_add_rcpt_par(state, optional_text, ""); } This code runs while headers are received, and I just verified that it does add a record to the queue file. Wietse