Get your free beta license ↗
CMDCommand · run as root on the server · mail family

urbestack-mail-activity

First published 14 Oct 20260.2.0Unchanged since publication

Usage

# urbestack-mail-activity --address user@example.com [--hours N] [--owner NAME]

Description

From the command's --help output
Reports activity for one mailbox using the mail logs. Use --hours to look back 1 to 999 hours.
The default is 48 hours.

The report compares hourly send counts with the mailbox's usual daily volume. It lists sending
IP addresses, when each was first and last seen, and whether it is new. It counts failed
sign-ins by hour, with SMTP counted separately from IMAP and POP3, and groups successful mailbox
sign-ins by IP address and device. It also shows recipient domains, message subjects, responses
from receiving servers, and traffic in bytes per device since the first of the month and across
the weeks covered by the retained logs.

The report flags possible compromise if the mailbox hit its hourly sending limit or the spam
filter rejected a message sent by the mailbox. It also flags a day when the mailbox sent at
least 100 messages and at least 10 times its usual daily volume, starting with a message from an
IP address with no prior sign-in for that mailbox.

This command is for administrators and resellers. Use --owner to limit the lookup to a
reseller's domains and those of their customers.

Options

Find other commands that accept these options

Same in the API

This operation runs the command.

More in mail

38 commands, by what they work onView all commands in this family →
urbestack-mail-account-
urbestack-mail-autoresponder-
urbestack-mail-check-
urbestack-mail-dkim-
urbestack-mail-domain-
urbestack-mail-filter-
urbestack-mail-forwarder-
urbestack-mail-greylist-
urbestack-mail-hold-
urbestack-mail-list-
urbestack-mail-queue-
urbestack-mail-settings-
urbestack-mail-smarthost-
Generated from release 0.2.35 (current) · urbestack-mail-activity --help outputThis entry has been unchanged since it was first published in release 0.2.0 on 14 Oct 2026.
urbestack.com/docs/commands/urbestack-mail-activity/