# HG changeset patch # User meillo@marmaro.de # Date 1273143760 -7200 # Node ID 0267fe9745d568da6926b856c942e38e64798a03 # Parent 983a603c2ff2ce19cbe17b6be1645663a577524c we should probably add an always-bcc feature diff -r 983a603c2ff2 -r 0267fe9745d5 src/spool.c --- a/src/spool.c Thu May 06 12:54:00 2010 +0200 +++ b/src/spool.c Thu May 06 13:02:40 2010 +0200 @@ -238,6 +238,12 @@ address *rcpt = (address *) (node->data); spool_write_rcpt(out, rcpt); } + /* TODO: add support for always_bcc, i.e. a way to deliver + each outgoing mail to a configurable address. This + can be useful for archiving purposes. + address* always_bcc = create_address("always_bcc@localhost", TRUE/FALSE); + spool_write_rcpt(out, always_bcc); + */ DEBUG(6) debugf("after RT\n"); fprintf(out, "PR:%s\n", prot_names[msg->received_prot]); if (msg->received_host != NULL)