Skip to content

check_mailq: newer exim version have different mailq output #2002

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

Open
opsec opened this issue May 31, 2024 · 4 comments
Open

check_mailq: newer exim version have different mailq output #2002

opsec opened this issue May 31, 2024 · 4 comments

Comments

@opsec
Copy link

opsec commented May 31, 2024

old line 500:

if (/\s[\w\d]{6}-[\w\d]{6}-[\w\d]{2}\s/) { # message id 19aEEr-0007hx-Dy

new:
if (/\s[\w\d]{6}-[\w\d]{11}-[\w\d]{4}\s/) { # message id 1sCwkT-00000000Ajj-3Yfg

I'll try to submit it as pull request 8-}, still learning 8-)

@RincewindsHat
Copy link
Member

Hi @opsec,
Thank you for the notice. I guess this change would break this plugin on older exims?

@opsec
Copy link
Author

opsec commented Jun 3, 2024

Probably, yes. But those versions have other issues, so...

@RincewindsHat
Copy link
Member

hm, would be nice to have a way to do this in a more stable way in general. If mailq would export a nice machine-readable format....

@opsec
Copy link
Author

opsec commented Jun 4, 2024

mailq does export a nice machine-readable format. The problem is that the regex is very strict and would
work if changed from /\s[\w\d]{6}-[\w\d]{11}-[\w\d]{4}\s/ to /\s\S+\s/. So it's basically a matter of taste.

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

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy