email-json: add bcc to extended fields

pull/1671/head
Eric Leblond 10 years ago
parent fbd6428f1b
commit 946f2a6acc

@ -69,7 +69,7 @@ struct {
uint32_t flags;
} email_fields[] = {
{ "reply_to", "reply-to", LOG_EMAIL_DEFAULT },
{ "bcc", "bcc", LOG_EMAIL_COMMA },
{ "bcc", "bcc", LOG_EMAIL_COMMA|LOG_EMAIL_EXTENDED },
{ "message_id", "message-id", LOG_EMAIL_EXTENDED },
{ "subject", "subject", LOG_EMAIL_EXTENDED },
{ "x_mailer", "x-mailer", LOG_EMAIL_EXTENDED },

@ -141,7 +141,7 @@ outputs:
# alerts: no # log alerts that caused drops
- smtp:
#extended: yes # enable this for extended logging information
# this includes: message-id, subject, x_mailer, user-agent
# this includes: bcc, message-id, subject, x_mailer, user-agent
# custom fields logging from the list:
# reply-to, bcc, message-id, subject, x-mailer, user-agent, received,
# x-originating-ip, in-reply-to, references, importance, priority,

Loading…
Cancel
Save