Перейти к содержимому

mailcow (beta)

Это содержимое пока не доступно на вашем языке.

Whether the mail server is delivering: stopped containers, the size and age of Postfix’s queue, the volume holding the mailboxes and mailboxes close to their quota.

From the DumbMonit server (or its relay agent) to the device:

PortProtocolPurpose
443TCPAPI (HTTPS, default)
80TCPOnly with the http scheme option

The failure worth watching: one stopped container in a stack of twenty. rspamd down means no spam filtering, Dovecot down means no reading, Postfix down means no delivery, and the web interface still opens. A mailbox at its quota gets its incoming mail refused with nothing shown to the sender’s admin.

All metrics are prefixed dumbmonit_mailcow_.

MetricWhatLabels
version_infovalue 1version
containers_total, containers_runningmailcow containers, and those running
container_up1 per container while running (at most 32)container
vmail_used_percentthe volume holding the mailboxes
queue_messages, queue_oldest_secondsmessages in Postfix’s queue and the age of the oldest
mailboxes_total, mailboxes_inactive, mailboxes_near_quotamailboxes; deactivated ones; those at 90% of their quota or more
mailbox_quota_percentmailboxes at 80% or more of their quota, at most 32mailbox
scrape_errorscalls that failed on the last probe

The built-in rules that apply: mailcow container down, mailcow mail queue stuck, mailcow mail volume almost full, mailcow mailbox near quota, plus Monitor unreachable.

  1. In mailcow, open System → Configuration → Access → API and find the Read-only access section.

  2. Tick Activate API, add DumbMonit’s IP address to the allowed addresses and save.

  3. Copy the read-only key, then enter mailcow’s address in DumbMonit and paste it.

CredentialFields
API keySent in the X-API-Key header.

Address: a host name (mail.example.com), host:port, or a full URL. Mailbox names are published only for mailboxes close to their quota. Options: protocol (HTTPS by default), port (443), certificate check and request timeout (15 s).