Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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!

share|improve this answer
    
Thanks, we’ll give this a try! –  Abraham Vegh Jan 12 '11 at 11:13

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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