::nsmcp::Tool ::nsmcp::Tool ::nsmcp::Object ::nsmcp::Object ::nsmcp::Tool->::nsmcp::Object ::smtpd::mcp::SmtpLogTool ::smtpd::mcp::SmtpLogTool ::smtpd::mcp::SmtpLogTool->::nsmcp::Tool

Class ::smtpd::mcp::SmtpLogTool

::smtpd::mcp::SmtpLogTool[i] create ... \
           [ -adminExample (default "Use smtp_logs with log event for the last 15 minutes. Show SMTP deferrals, rejections, TLS failures and transaction outcomes; include coverage.") ] \
           [ -adminSummary (default "Inspect recent SMTP send results and session events.") ] \
           [ -authorizer:required authorizer:required ] \
           [ -description (default " Read recent nssmtpd sendlog or eventlog records from the current server's configured SMTP module. Defaults to eventlog, the last 60 minutes, and at most 20 newest matching records. Reads at most 1 MiB from the current file; does not scan rotated files or certify full-window coverage when earlier bytes remain unread. Reports malformed, oversized and unfinished lines separately. Filters use exact event/session/status matches; contains is a literal substring in the redacted record. Returns SMTP envelope addresses and diagnostic metadata, never message bodies. Peer addresses are masked unless includePeerAddresses is true and diagnostics.logs.peers.read is granted. Event records belonging to another virtual server are excluded; sendlog has no per-record server field, so its scope is the configured source. Does not send mail or change SMTP settings. ") ] \
           [ -inputSchema (default " { "type": "object", "properties": { "log": { "type": "string", "enum": ["event", "send"], "default": "event" }, "module": { "type": "string", "default": "nssmtpd", "description": "Configured nssmtpd module name in the current virtual server." }, "lastMinutes": { "type": "integer", "minimum": 1, "maximum": 1440, "default": 60 }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "default": 20 }, "session": { "type": "string", "description": "Exact eventlog session identifier; not available in sendlog." }, "event": { "type": "string", "description": "Exact eventlog event name." }, "status": { "type": "string", "description": "Exact SMTP status code, for example 451 or 550." }, "contains": { "type": "string", "description": "Literal substring in the redacted record." }, "includePeerAddresses": { "type": "boolean", "default": false } }, "additionalProperties": false } ") ] \
           [ -maxLineBytes:integer (default "16384") ] \
           [ -maxReadBytes:integer (default "1048576") ] \
           [ -name (default "smtp_logs") ] \
           [ -outputSchema (default "") ] \
           [ -peerRedactor:required peerRedactor:required ] \
           [ -permission (default "diagnostics.logs.read") ] \
           [ -redactor:required redactor:required ]

Class Relations

  • class: ::nx::Class[i]
  • superclass: ::nsmcp::Tool[i]