Skip to content

Ambiguous logs in sender.js #445

@Gladiak

Description

@Gladiak

Hello guys,
we need to parse the logs that zone-mta composes in the sender.js file to notify the outcome of email delivery.

By checking the code you can see that they have the form:
'id=%s %s.%s ACCEPTED from=%s to=%s src=%s mx=%s id=%s (%s)'

The id entry is repeated to refer to both the session id and the message id.

Would it be possible to remove this ambiguity ?
For example by substituting “message-id” or similar for id when referring to the message.
If you prefer, i could make a PR to fix this.

Have a great day

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions