Hi
Am 12.11.2014 um 16:04 schrieb Wietse Venema:
I'm considering a design for BCC support in header/body_checks
that works in two stages:
- The first stage happens while an email message is received: build
a list of recipients in header/body_checks BCC actions, suppressing
duplicates on-the-fly.
- The second stage happens after the complete message and envelope
are stored: add the BCC recipients to the queue file.
The header/body_checks syntax would look like this:
/pattern/ BCC u...@example.com
/pattern/ BCC u...@example.com NOTIFY=none ORCPT=u...@example.net
(for consistency, BCC recipients with NOTIFY and ORCPT attributes
should also be supported in access maps, sender_bcc_maps,
recipient_bcc_maps, and always_bcc)
if i understand that correctly it would mean "smtp_header_checks" could
have a rule like below, so if the milter added a [SPAM] prefix to the
subject a copy of the (via smtp-transport) outgoing message could go to
"spamfil...@example.com" for analyze and manual bayes training?
/^Subject: \[SPAM\].*/ BCC spamfil...@example.com
that would be *great*