Add more fields to the log line
Currently a log line looks like this:
Sep 16 18:11:52 mxpostfix03 encchecker[16860]: INFO: guid="2ErDGPYWGyMoxKEZesNLY6M5glA" qid="0C93980115" utf8_header="false"
It would be nice to add some more fields to that line:
-
The name of the header which contains non-US-ASCII characters: header="Subject" (If multiple: comma-separated header name without spaces) -
The result of the check: result=accept|reject -
The milter action which was sent to Postfix: actiontaken=accept|reject -
dry_run=no|yes
The project "verifyemail" already has the logic for the last 3 fields. For example if dry-run is active, it can be that the result=reject, but actiontaken=accept.