• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Deciphering qmail message id's

T

TDuncklee

Guest
Qmail logging has always plagued me. Does anyone know how to logically link the info in the logs to actual messages? For example, here is a log entry:
Oct 20 10:24:18 xeon qmail-queue-real: dwlib[6144]: scan: the message(drweb.tmp.fZkQ41) sent by me@my_server.com to someone_else@my_server.com should be passed without checks, because contains uncheckable addresses
Oct 20 10:24:18 xeon qmail: 1161354258.060035 new msg 1554488
Oct 20 10:24:18 xeon qmail: 1161354258.060422 info msg 1554488: bytes 1462 from <me@my_server.com> qp 6148 uid 2020
Oct 20 10:24:18 xeon qmail: 1161354258.062470 starting delivery 32364: msg 1554488 to local 167-someone_else@my_server.com
Oct 20 10:24:18 xeon qmail: 1161354258.062954 status: local 1/10 remote 5/20
Oct 20 10:24:18 xeon qmail: 1161354258.070622 delivery 32364: success: did_1+0+1/
Oct 20 10:24:18 xeon qmail: 1161354258.070931 status: local 0/10 remote 5/20
Oct 20 10:24:18 xeon qmail: 1161354258.071008 end msg 1554488
How can I locate the message referred to as 1554488? Or, if I start with a message, how can I find that messages entry in the logs?

This is on FreeBSD if that matters.
 
How can I locate the message referred to as 1554488? Or, if I start with a message, how can I find that messages entry in the logs?

On Linux the message id (1554488) would be found in /var/qmail/queue/mess/*/1554488, as far as I know there is no real logic to the numbered directories under the mess folder -- other than it is to allow for concurrent copies of qmail to plug away at the remote queue.

As for finding it in the logs, I usually do a search for "new msg <id>" in vi.
 
Back
Top