• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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