Skip to content

Commit

Permalink
lmtp: local: Use rcpt.event as mail_*user's parent event.
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanbosch committed Mar 12, 2019
1 parent 05a5ae3 commit a66de43
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lmtp/lmtp-local.c
Expand Up @@ -333,6 +333,9 @@ int lmtp_local_rcpt(struct client *client, struct smtp_server_cmd_ctx *cmd,
input.conn_secured = input.conn_ssl_secured ||
smtp_server_connection_is_trusted(client->conn);

event_add_str(rcpt->event, "session", session_id);
input.parent_event = rcpt->event;

ret = mail_storage_service_lookup(storage_service, &input,
&service_user, &error);
if (ret < 0) {
Expand Down

0 comments on commit a66de43

Please sign in to comment.