On 12.02.2018 16:06, j.emerlik wrote: > I would like have policy service that will be able to write do data > base some information eg. when exactly message was sent, message ID, > DSN if soemthing goes wrong. That means it should be working with > Postfix queue.
That's not really a specific description of your needs or design goals, so you can expect answers to be similarly vague. ;-) Have you looked into postqueue(1) and/or showq(8) yet? -Ralph