[root@kolab ~]# echo '{"event":"MessageAppend","timestamp":"2015-06-01T12:52:35.836+02:00","service":"imap","mailboxID":"a599ca38-af40-4ec9-b73f-807ffa1c0158","uri":"imap://kolab.example.org/user/john.doe/Sent%40example.org;UIDVALIDITY=1433155760/;UID=1","modseq":2,"messages":1,"vnd.cmu.unseenMessages":0,"uidnext":2,"vnd.cmu.midset":[""],"flagNames":"\\seen","pid":26307,"user":"john.doe@example.org","messageSize":367,"vnd.cmu.envelope":"(\"Mon, 01 Jun 2015 12:52:33 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"doe\" \"example.org\")) NIL NIL NIL \"\")","bodyStructure":"(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 4 0 NIL NIL NIL NIL)"}' | python -mjson.tool { "bodyStructure": "(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 4 0 NIL NIL NIL NIL)", "event": "MessageAppend", "flagNames": "\\seen", "mailboxID": "a599ca38-af40-4ec9-b73f-807ffa1c0158", "messageSize": 367, "messages": 1, "modseq": 2, "pid": 26307, "service": "imap", "timestamp": "2015-06-01T12:52:35.836+02:00", "uidnext": 2, "uri": "imap://kolab.example.org/user/john.doe/Sent%40example.org;UIDVALIDITY=1433155760/;UID=1", "user": "john.doe@example.org", "vnd.cmu.envelope": "(\"Mon, 01 Jun 2015 12:52:33 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"doe\" \"example.org\")) NIL NIL NIL \"\")", "vnd.cmu.midset": [ "" ], "vnd.cmu.unseenMessages": 0 } [root@kolab ~]# echo '{"event":"MessageNew","timestamp":"2015-06-01T12:52:41.216+02:00","service":"lmtpunix","mailboxID":"6a47e1b6-f89d-4a85-85b4-0c7b6b1d87f6","uri":"imap://kolab.example.org/user/john.doe%40example.org;UIDVALIDITY=1433155754/;UID=1","modseq":2,"messages":1,"vnd.cmu.unseenMessages":1,"uidnext":2,"vnd.cmu.midset":[""],"pid":26267,"user":"john.doe@example.org","messageSize":837,"vnd.cmu.envelope":"(\"Mon, 01 Jun 2015 12:52:33 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"doe\" \"example.org\")) NIL NIL NIL \"\")","bodyStructure":"(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 6 1 NIL NIL NIL NIL)"}' | python -mjson.tool { "bodyStructure": "(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 6 1 NIL NIL NIL NIL)", "event": "MessageNew", "mailboxID": "6a47e1b6-f89d-4a85-85b4-0c7b6b1d87f6", "messageSize": 837, "messages": 1, "modseq": 2, "pid": 26267, "service": "lmtpunix", "timestamp": "2015-06-01T12:52:41.216+02:00", "uidnext": 2, "uri": "imap://kolab.example.org/user/john.doe%40example.org;UIDVALIDITY=1433155754/;UID=1", "user": "john.doe@example.org", "vnd.cmu.envelope": "(\"Mon, 01 Jun 2015 12:52:33 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"doe\" \"example.org\")) NIL NIL NIL \"\")", "vnd.cmu.midset": [ "" ], "vnd.cmu.unseenMessages": 1 } [root@kolab ~]# echo '{"event":"MessageAppend","timestamp":"2015-06-01T12:52:52.990+02:00","service":"imap","mailboxID":"a599ca38-af40-4ec9-b73f-807ffa1c0158","uri":"imap://kolab.example.org/user/john.doe/Sent%40example.org;UIDVALIDITY=1433155760/;UID=2","modseq":3,"messages":2,"vnd.cmu.unseenMessages":0,"uidnext":3,"vnd.cmu.midset":[""],"flagNames":"\\seen","pid":26272,"user":"john.doe@example.org","messageSize":368,"vnd.cmu.envelope":"(\"Mon, 01 Jun 2015 12:52:51 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"info\" \"example.org\")) NIL NIL NIL \"\")","bodyStructure":"(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 4 0 NIL NIL NIL NIL)"}' | python -mjson.tool { "bodyStructure": "(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 4 0 NIL NIL NIL NIL)", "event": "MessageAppend", "flagNames": "\\seen", "mailboxID": "a599ca38-af40-4ec9-b73f-807ffa1c0158", "messageSize": 368, "messages": 2, "modseq": 3, "pid": 26272, "service": "imap", "timestamp": "2015-06-01T12:52:52.990+02:00", "uidnext": 3, "uri": "imap://kolab.example.org/user/john.doe/Sent%40example.org;UIDVALIDITY=1433155760/;UID=2", "user": "john.doe@example.org", "vnd.cmu.envelope": "(\"Mon, 01 Jun 2015 12:52:51 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"info\" \"example.org\")) NIL NIL NIL \"\")", "vnd.cmu.midset": [ "" ], "vnd.cmu.unseenMessages": 0 } [root@kolab ~]# echo '{"event":"MessageNew","timestamp":"2015-06-01T12:52:56.233+02:00","service":"lmtpunix","mailboxID":"f137a6f4-3818-408a-8710-2f5b073530f7","uri":"imap://kolab.example.org/shared/info%40example.org;UIDVALIDITY=1433155777/;UID=1","modseq":4,"messages":1,"vnd.cmu.unseenMessages":1,"uidnext":2,"vnd.cmu.midset":[""],"pid":26338,"user":"","messageSize":838,"vnd.cmu.envelope":"(\"Mon, 01 Jun 2015 12:52:51 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"info\" \"example.org\")) NIL NIL NIL \"\")","bodyStructure":"(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 6 1 NIL NIL NIL NIL)"}' | python -mjson.tool { "bodyStructure": "(\"TEXT\" \"PLAIN\" (\"CHARSET\" \"US-ASCII\" \"FORMAT\" \"flowed\") NIL NIL \"7BIT\" 6 1 NIL NIL NIL NIL)", "event": "MessageNew", "mailboxID": "f137a6f4-3818-408a-8710-2f5b073530f7", "messageSize": 838, "messages": 1, "modseq": 4, "pid": 26338, "service": "lmtpunix", "timestamp": "2015-06-01T12:52:56.233+02:00", "uidnext": 2, "uri": "imap://kolab.example.org/shared/info%40example.org;UIDVALIDITY=1433155777/;UID=1", "user": "", "vnd.cmu.envelope": "(\"Mon, 01 Jun 2015 12:52:51 +0200\" \"test\" ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"john.doe\" \"example.org\")) ((\"Doe, John\" NIL \"john.doe\" \"example.org\")) ((NIL NIL \"info\" \"example.org\")) NIL NIL NIL \"\")", "vnd.cmu.midset": [ "" ], "vnd.cmu.unseenMessages": 1 }