cherti / mailexporter

Export Prometheus-style metrics about mail server functionality
https://prometheus.io
GNU General Public License v3.0
45 stars 9 forks source link

Problems with detectiondir tag in configfile. #33

Closed victorlicea closed 2 years ago

victorlicea commented 3 years ago

Hi! I'm new on this project

I'm searching fix a problem, my exporter doesn't works in the same server that the mail server, I'm using this exporter in a local server but the mail server I'm hired it with Go Daddy and I've a problem with the tag detectiondir 'cause I don't have that directory on my local server, How can I fix that problem?

Note: the probe-mail is sent succesfully but the metric mail_deliver_success scrape 0

I'm apologize If my english it's so bad but I'm not english speaker, I hopefully that you can help me!

cherti commented 3 years ago

Your mailserver needs to store the delivered Mail in maildir-format on disk and the mailexporter needs to be pointed to that very maildir where the resulting file hits. So this likely means that you need to run mailexporter on the same machine that receives the mail.