Skip to content
BleemeoBleemeo

Postfix

Auto-Detection
Health Check
Built-in Metrics

Bleemeo monitors the Postfix mail transfer agent through automatic service detection, SMTP health checks, and mail queue metrics.

Glouton automatically detects Postfix instances listening on port 25. If the auto-detected parameters are incorrect, you can override them manually.

Terminal window
sudo tee /etc/glouton/conf.d/99-postfix.conf > /dev/null << 'EOF'
service:
# For a Postfix running outside a container
- type: "postfix"
address: "127.0.0.1"
port: 25
# For an additional Postfix running outside a container
- type: "postfix"
instance: "NAME_ASSOCIATED_WITH_YOUR_ADDITIONAL_SERVICE"
address: "127.0.0.1"
port: 26
# For a Postfix running in a Docker container
- type: "postfix"
instance: "CONTAINER_NAME"
address: "172.17.0.2"
port: 25
EOF

Glouton performs an SMTP health check when the service listens on port 25.

MetricDescription
service_statusStatus of Postfix
MetricDescription
postfix_queue_sizeNumber of mails queued