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

domains as additional labels? #106

Open
adixon opened this issue May 23, 2023 · 0 comments
Open

domains as additional labels? #106

adixon opened this issue May 23, 2023 · 0 comments

Comments

@adixon
Copy link

adixon commented May 23, 2023

It would be helpful if I can see both the from and to domains when looking at the rejects. It looks like I might be able to do that with a small modification like this:

smtpdRejectsLine = regexp.MustCompile(^NOQUEUE: reject: RCPT from \S+: ([0-9]+) .* from=<.?@(.?)> to=<.?@(.?)>)

I can also see how that might blow up your prometheus for a really big install where you're processing a lot of different from and to domains, but any ideas about the viability of an approach like this?

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