Jose Borges Ferreira:
> Due to the limitation of not have the full recipient list in policy
> daemon ate OEM stage, a milter would be the best tool to achieve this.

Each recipient can be reported with the Milter RCPT event handler.
This combined with the queue ID, allows the Milter to maintain a
counter that can be queried at End-Of-Message time.

The Milter can also be notified of "abort" events. This allows it
to can discard a counter when its mail transaction is aborted.

The same is possible with SMTPD policy daemons. Each Postfix SMTP
daemon maintains a persistent connection to a policy daemon, and
when the queue ID in the requests over that connection changes, or
when that connection is closed, the counter can be discarded.

        Wietse

Reply via email to