Closed Koded closed 12 years ago
Bcc isn't a header (though if it is, Haraka won't strip it). It just adds addresses to the envelope, which is part of the SMTP protocol.
If you put LOGPROTOCOL into config/loglevel you will see the addresses. They are available to plugins via the transaction object. See: http://haraka.github.com/manual/Transaction.html - the rcpt_to property.
Given that a go and works exactly as you say.
Many thanks for that!
I have just installed Haraka and intend to use it to receive incoming emails. The only change I have made is to use the test_queue plugin so that the emails are delivered to a test folder.
When I test it using to, cc and bcc fields from my email client, it receives the email into the queue fine, but there is no details of the BCC address.
I have read up a bit about SMTP and this is correct, it should strip the BCC header from the email.
But - I can't see a way of stopping this happening for use in my situation, i.e. I want to be able to see the original email, BCC header field included.
Any help would be appreciated.