Socket webmail inbox log
A socket webmail inbox log!
Here's a sample log format for a socket-based webmail inbox:
# Log Format: Socket Webmail Inbox Log
# Timestamp (YYYY-MM-DD HH:MM:SS)
# IP Address (Client IP)
# User ID (Unique identifier for the user)
# Action (One of: CONNECT, DISCONNECT, READ, DELETE, MARK_READ, MARK_UNREAD)
# Message ID (Unique identifier for the message)
# Message Subject
# Message Body (Truncated to 100 characters)
2023-02-20 14:30:00
192.168.1.100
user123
CONNECT
1234567890
"Hello from John"
"This is a test message"
2023-02-20 14:30:05
192.168.1.100
user123
READ
1234567890
"Hello from John"
"This is a test message"
2023-02-20 14:30:10
192.168.1.100
user123
DELETE
1234567890
"Hello from John"
"This is a test message"
2023-02-20 14:30:15
192.168.1.100
user123
MARK_READ
1234567891
"Hello from Jane"
"This is another test message"
2023-02-20 14:30:20
192.168.1.100
user123
MARK_UNREAD
1234567891
"Hello from Jane"
"This is another test message"
In this log format:
Timestamp
is the date and time the event occurred.IP Address
is the IP address of the client that initiated the action.User ID
is the unique identifier for the user who performed the action.Action
is one of the following:CONNECT
: The client connected to the webmail server.DISCONNECT
: The client disconnected from the webmail server.READ
: The client read a message.DELETE
: The client deleted a message.MARK_READ
: The client marked a message as read.MARK_UNREAD
: The client marked a message as unread.
Message ID
is the unique identifier for the message that was affected by the action.Message Subject
is the subject of the message.Message Body
is the body of the message, truncated to 100 characters.
This log format provides a basic record of user activity in the webmail inbox, including connections, disconnections, message reads, deletes, and marking as read or unread.