Mercurial > masqmail-0.2
changeset 31:0267fe9745d5
we should probably add an always-bcc feature
author | meillo@marmaro.de |
---|---|
date | Thu, 06 May 2010 13:02:40 +0200 |
parents | 983a603c2ff2 |
children | 941f755e2965 |
files | src/spool.c |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)