• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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