Jim Nalepa - US:
> Viktor,
> Thanks, but can you or anyone else show an example or
> anything that would actually help me obtain that
> functionality? I know the BCC is not a supported ACTION
> in body_checks, but is there a non-trivial work around?
1) Use an external content filter. The filter must receive the
entire email message from an up-stream Postfix client, add an
envelope recipient perhaps with DSN NOTIFY=NONE, then send the
envelope and message into a down-stream Postfix server, then report
success or failure to the up-stream Postfix client.
2) Edit Postfix source code. Save the recipient in a new CLEANUP_STATE
member, file src/cleanup/cleanup_message.c. Emit the recipient in
the queue file section with "extracted" information, file
src/cleanup/cleanup_extra.c, perhaps with dsn_notify = none. Finally,
deallocate the new CLEANUP_STATE member in src/cleanup/cleanup_state.c.
Wietse