Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regex SASL AuthenticationFailure Failed #80

Open
Grounz opened this issue Jun 8, 2021 · 0 comments
Open

Regex SASL AuthenticationFailure Failed #80

Grounz opened this issue Jun 8, 2021 · 0 comments

Comments

@Grounz
Copy link

Grounz commented Jun 8, 2021

Hi,

Thanks for this great exporter.

We use it for get metrics of postfix server. We use postfix 3.4.13.

We have SASL authentication error in postfix server and it seems that the regex for capture SASL authentication failure doesn't works.

In fact, the regex rules is here https://github.com/kumina/postfix_exporter/blob/master/postfix_exporter.go#L299 this regex use ^warning and we have not this warning string in our smtp log.

Jun 08 14:39:03 myserver postfix/smtp[2107]: 837B04772D24: to=<[email protected]>, relay=mail.server.fr[IpAddress]:25, delay=1088, delays=1083/0.03/5.3/0, dsn=4.7.3, status=deferred (SASL authentication failed; server mail.server.fr[IpAddress]said: 535 5.7.3 Authentication unsuccessful)

And the metrics counter is empty:

postfix_smtpd_sasl_authentication_failures_total 0

have you an idea ?

Thanks you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant