I’m running an email server using qmail.

I want to transparently add a BCC to each email that is sent through the server, for particular accounts. This would have the effect of saving every sent email to a separate mailbox for archival and legal purposes.

What’s the best way to go about doing this?

link|improve this question

77% accept rate
feedback

1 Answer

I'm not a qmail user, but this is the answer from the qmail FAQ:

Set QUEUE_EXTRA to Tlog\0 and QUEUE_EXTRALEN to 5 in extra.h. Recompile qmail. Put > ./msg-log into ~alias/.qmail-log

You can also use QUEUE_EXTRA to, e.g., record the Message-ID of every message: run

| awk '/^$/ { exit } /^[mM][eE][sS][sS][aA][gG][eE]-/ { print }'

from ~alias/.qmail-log

More at the bottom of http://cr.yp.to/qmail/faq/admin.html#copies - but I must admit this is completely arcane to me!

link|improve this answer
Thanks, we’ll give this a try! – abrahamvegh Jan 12 '11 at 11:13
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.