msmtp-queue: missing dependencies on grep, coreutils-pr, uuidgen

Open Beginner friendly
#31,176 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@ElNeMeR70 is already working on this.

Since Nov 7, 2026.

  • #31188 by @ElNeMeR70 — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
shell
Domain
build-system

Research direction

Find the msmtp-queue package definition and its dependency declarations, then compare them with the commands used by msmtpq and msmtp-listqueue.sh in the issue. Start by checking which OpenWrt packages provide uuidgen, pr, and grep with --colour; update the package dependencies to include the required providers. Done when the listed commands are available after installing msmtp-queue on the reported target.

Written by the indexing model from the issue text.

Description

bug
Package Name

msmtp-queue

Maintainer

@commodo

OpenWrt Version

24.10.8

OpenWrt Target/Subtarget

ath79/generic

Steps to Reproduce
# /usr/bin/msmtpq 
/usr/bin/msmtpq: line 581: uuidgen: command not found
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command uuidgen exited with Status 127
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command ID="$(date +%Y-%m-%d-%H.%M.%S)"-"$(uuidgen)" exited with Status 127
#

Similarly, /usr/bin/msmtp-listqueue.sh uses the --colour and so it need the full grep package:

# grep grep /usr/bin/msmtp-listqueue.sh
        grep -E -s --colour -h '(^From:|^To:|^Subject:)' "$i" || echo "No mail in queue";
#
Actual Behaviour
# /usr/bin/msmtpq 
/usr/bin/msmtpq: line 581: uuidgen: command not found
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command uuidgen exited with Status 127
/usr/bin/msmtpq: line 205: pr: command not found
Error: In /usr/bin/msmtpq, Lines 581 and 639, Command ID="$(date +%Y-%m-%d-%H.%M.%S)"-"$(uuidgen)" exited with Status 127
#
Confirmation Checklist
Dominant language
Makefile
Stars
4.7k
Forks
4k
Avg merge
2d 4h
Merged PRs (30d)
251

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openwrt/packages

All issues in openwrt/packages

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.