Displaying 1 result from an estimated 1 matches for "mail_log_field_subject".
2014 Aug 05
1
[Patch] mail_log plugin supports remote, local ip addresses
...ugin.c 2014-08-05 13:15:30.000000000 +0400
@@ -13,6 +13,8 @@
#include <stdlib.h>
+#include "network.h"
+
#define MAILBOX_NAME_LOG_LEN 64
#define HEADER_LOG_LEN 80
@@ -27,7 +29,9 @@
MAIL_LOG_FIELD_VSIZE = 0x10,
MAIL_LOG_FIELD_FLAGS = 0x20,
MAIL_LOG_FIELD_FROM = 0x40,
- MAIL_LOG_FIELD_SUBJECT = 0x80
+ MAIL_LOG_FIELD_SUBJECT = 0x80,
+ MAIL_LOG_FIELD_REMOTE_IP = 0x100,
+ MAIL_LOG_FIELD_LOCAL_IP = 0x200
};
#define MAIL_LOG_DEFAULT_FIELDS \
(MAIL_LOG_FIELD_UID | MAIL_LOG_FIELD_BOX | \
@@ -58,6 +62,8 @@
"flags",
"from",
"subject",
+ "rip",
+...