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 diff
1.1 --- a/src/spool.c Thu May 06 12:54:00 2010 +0200 1.2 +++ b/src/spool.c Thu May 06 13:02:40 2010 +0200 1.3 @@ -238,6 +238,12 @@ 1.4 address *rcpt = (address *) (node->data); 1.5 spool_write_rcpt(out, rcpt); 1.6 } 1.7 + /* TODO: add support for always_bcc, i.e. a way to deliver 1.8 + each outgoing mail to a configurable address. This 1.9 + can be useful for archiving purposes. 1.10 + address* always_bcc = create_address("always_bcc@localhost", TRUE/FALSE); 1.11 + spool_write_rcpt(out, always_bcc); 1.12 + */ 1.13 DEBUG(6) debugf("after RT\n"); 1.14 fprintf(out, "PR:%s\n", prot_names[msg->received_prot]); 1.15 if (msg->received_host != NULL)