check_mailq: add support for opensmtpd by Subito · Pull Request #1495 · monitoring-plugins/monitoring-plugins · GitHub
Skip to content

check_mailq: add support for opensmtpd#1495

Open
Subito wants to merge 2 commits into
monitoring-plugins:masterfrom
Subito:master
Open

check_mailq: add support for opensmtpd#1495
Subito wants to merge 2 commits into
monitoring-plugins:masterfrom
Subito:master

Conversation

@Subito

@Subito Subito commented Jun 12, 2017

Copy link
Copy Markdown

Tested on FreeBSD, should be OS-independent, though.

uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Sep 14, 2017
PR:		222237
Submitted by:	mmokhi
Obtained from:	nagios-plugins/nagios-plugins@d56818f
Obtained from:	monitoring-plugins/monitoring-plugins#1495
Sponsored by:	Absolight


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@449835 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Sep 14, 2017
PR:		222237
Submitted by:	mmokhi
Obtained from:	nagios-plugins/nagios-plugins@d56818f
Obtained from:	monitoring-plugins/monitoring-plugins#1495
Sponsored by:	Absolight
@waja waja added this to the 2.4 milestone Dec 15, 2020
@RincewindsHat

Copy link
Copy Markdown
Member

@waja

waja commented Dec 18, 2021

Copy link
Copy Markdown
Member

hm, tried to test that, but opensmtpd is called smtpd on debian. Not sure how to handle that.

What's the question about the "name" of opensmtpd in debian? You need a running opensmtpd for tesing?

@RincewindsHat

Copy link
Copy Markdown
Member

Sorry, that was in its shortness rather confusing. The binary itself is smtp not opensmtp. So, this is probably not OS independent. What would be the best way to circumvent that?

@waja

waja commented Dec 19, 2021

Copy link
Copy Markdown
Member

looking into the documentation, it indicates that the binary is smptd. In Debian for example there is only one software with smtpd in the search path, opensmtpd. See https://packages.debian.org/search?mode=path&suite=bullseye&section=all&arch=any&searchon=contents&keywords=bin%2Fsmtpd

Searching on the net around the binary seems even on FreeBSD smtpd:

So maybe the option should be better "smtpd" instead of "opensmtpd"? It just sounds a bit to generic, that @Subito used "opensmtpd" as option for -M (--mailserver) but didn't had in mind, that this is autodetected if this option is not used?

@RincewindsHat

Copy link
Copy Markdown
Member

hm, I should have taken a look at FreeBSD too then. I guess, with the change from opensmtpd to smtpd we should be fine, then.

@waja

waja commented Dec 19, 2021

Copy link
Copy Markdown
Member

@waja waja changed the title add support for opensmtpd check_mailq: add support for opensmtpd Jan 30, 2022
@waja waja modified the milestones: 2.4, 2.5 Jul 23, 2024
@RincewindsHat RincewindsHat modified the milestones: 2.5, 3.1.0 Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants