Consulting djbware Publications


What is mess822x?

Dan Bernstein published mess822 in 1998 in order to provide a framework for parsing the SMTP email header together with some more gadgets for qmail. This package was released 2011 into the public domain and to my knowledge nobody cared about it anymore. However, in spite of SPF, DKIM, and DMARC (ARC) message header fields it becomes increasingly important to digest an email correctly.

My mess822x is an enhancement while providing the following


The mess822x package and its qmail addons should work well with vanilla qmail and s/qmail. In fact, its message header parsing functions are not depending on anything.


Version & Download Description fehQlibs version Verification
mess822x 0.67 The second release; condensed WSPs, Win/DOS saved message compatibility. > fehQlibs-16 MD5: b7f77c6e5769242ce8709cefbf08ffe6
Build: 20201228200100

mess822x's source files are documented in doxygen.


Currently, there isn't much documentation about mess822x except for the embedded one:

For further discussions see:

Man pages

mess822 (s/)qmail
822body new-inject
822date ofmipd
822field ofmipname
822header rewritehost
822print rewriting

Example to use 822field to retrieve DMARC fields in messages

Here, we use the extended feature of 822field in order to retrieve the DMARC header fields from 'message':

$ 822field +ARC < message ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901;; cv=none; b=Nltd+xB85SKby4SjHIyC5HWgiWEHVZvHybfs0avK93dYu7dOW3z3d70beeXzMcLsvch3Zc5c5sTYyuxZpytpLkWkNCBC40PvwS9fB0nFU+tEePRJeelzotf9L470Q4+bImvndkqqSqSpfrNCLUp9EAb6kjE54pQ8ddehfO8M/ota1ISj/NLs36QW913HtIR5IhMv2uNehip2XgumQqsj3sWG7dlOeX4CBhvBjeYmF7aqaY8QHQMeK4/7BtMsOo3nbLQo5RqEnF+jjL/TvR2SwSXcn2TQz7sxg7QPiPsWX2lTLe+ock66/Txi5tLp9soYeF01+8zHpYAUqIwAKasYSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2kKxEcxSI7gm5CzyGxBK44awsouQ7frgk0sQXkOPYjc=; b=CDBimg1o4S4yWx6Nf25pXg6ve2nKKy0Poyx5etCaT5VMe1yz42RfMio25/49xoH+ipdQTJoC12RLYwfFYqkhVkrGO5wNEBE+D4uwA6X0hqbzBpqPhf3peQWuyBPuxq4fipcymwdS0NCoVzDF8NCiGVqGqxnWJzH8ZfQ8Ltv51pPzpEzuhfs4qCboliIJAjSImDOPLq/1UZE+f4JhTIW+wd/WcDmiSB4Y/NGxvNso+MxudQwws9xv5DDKBktXBEnP4ZehmBX0vzmTYmg3jCcHub/r/4Lsn6SRxTpY1MOAd9lO//wZPo3Dxywtd+ehicgh8+NYMTcq0pP2+nAHi/kFsA== ARC-Authentication-Results: i=1; 1; spf=pass; dmarc=pass action=none; dkim=pass; arc=none

How to install mess822x

Prior of installing mess822x you need to install the fitting fehQlibs. Please follow instructions here.

Tickets, Change Requests, communication

An EZMLM mailing list keeps you updated with current developments, bug fixes, and features discussed. This list also can be used to file

To inscribe use the: s/qmail mailing list

As usual, I can't guarantee a certain response level; but reasonable issues will be answered.