Currently it seems common practice to parse Postfix log files in order to determine if a message has been sent. Is there an API for Postfix or a look up table in it that yields this information in a manner quicker than parsing (rather lengthy) log files?
A:
There is no such API. You could, however, make use of the policy delegation protocol to write a simple policy daemon which logs per message information in a manner that suits you more.
cite
2009-09-16 22:07:57