Skip to content
Contents
GuidesOpenWrt

msmtp-queue fails to queue outgoing mail when uuidgen and pr are missing

When the queue script fails, first identify the first missing local tool. The email might not have entered the queue yet; adjusting the SMTP account in this case will have no effect.

Applies to · OpenWrt 24.10.8 · ath79/generic · msmtpq

What to check

Distinguish between msmtp's direct delivery and whether the queue script can generate identifiers and list the queue.

Connect over Ethernet and run the following commands in an SSH session on the router.

command -v uuidgen
command -v pr
command -v msmtpq

How to interpret the result

First verify that uuidgen and pr are available in the script environment. If no new entries are present in the queue directory, run the script dependencies first. If entries exist, check the delivery process and its exit status. During testing, deliver only one email to prevent repeated sending.

Verify and recover

Queue and deliver one message to your own test mailbox. Check for duplicates and restore the original scheduler.

Related guide · Identify a new device from OpenWrt lease and access logs

Explore hardware

Comments