Skip to content

Exim4

Auto-Detection
Health Check
Built-in Metrics

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

Glouton automatically detects Exim instances listening on port 25.

To enable metrics gathering, ensure Glouton can run the mailq command. This usually means adding the following to your Exim configuration (e.g. /etc/exim4/conf.d/main/99_local):

queue_list_requires_admin=false

Then refresh the configuration:

Terminal window
update-exim4.conf.template --run
update-exim4.conf

If the auto-detected parameters are incorrect, you can override them manually.

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

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

Metric Description
service_status Status of Exim
Metric Description
exim_queue_size Number of mails queued