> These operations aren't on the Mailet context they are
> on the Javamail API and the spool repository directly.

The repository object provided to a wrapped RemoteDelivery instance could be
wrapped, too, so that its own methods were intercepted and logged.

I'm not overly fond of the idea because of the inter-connections, but I'm
willing to listen and see if it grows on me.

More to the point, I'm not sure what the real problem is that is being
"solved" here.  Is it just improving the logging of messages, so that there
is a consistent log like:

  - arrival
    - time
    - message ID
    - source IP
    - from
    - to
    - internal mail id
  - delivery
    - time
    - internal mail id
    - message id
    - from
    - to
  - clone/split
    - time
    - original mail id
    - new mail id
    - original message's recipients
    - new messages's recipients
    - message id
    - reason

That's just off-the-cuff, and should be modified based upon best practices
from other mail server logs, too.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to