A postqueue option that listed all queued mails in JSON with some envelope information like sender IP would be amazing... If I had more free time I would consider trying to patch it in as you suggested.
But - I think it will be much less work to write a script that feeds large batches of queue IDs to "postcat -e" and greps the output. In theory it should be quite fast too. Thanks a lot for your input! I'll probably upload the finished script here when it's done. -- View this message in context: http://postfix.1071664.n5.nabble.com/Is-there-any-documentation-on-the-binary-format-of-the-mail-files-under-var-spool-postfix-tp90656p90663.html Sent from the Postfix Users mailing list archive at Nabble.com.