From 42917f68850b6b51a2000f6c2b922bb5e550adb4 Mon Sep 17 00:00:00 2001 From: Gilles Chehade Date: Sat, 21 Dec 2019 10:34:08 +0000 Subject: keep track of the relay action in relays, will be used for smtp-out reporting --- usr.sbin/smtpd/mta.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr.sbin/smtpd') diff --git a/usr.sbin/smtpd/mta.c b/usr.sbin/smtpd/mta.c index 6fbff8e925d..ea79e2dc6ec 100644 --- a/usr.sbin/smtpd/mta.c +++ b/usr.sbin/smtpd/mta.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mta.c,v 1.233 2019/12/18 07:57:51 gilles Exp $ */ +/* $OpenBSD: mta.c,v 1.234 2019/12/21 10:34:07 gilles Exp $ */ /* * Copyright (c) 2008 Pierre-Yves Ritschard @@ -1768,6 +1768,7 @@ mta_relay(struct envelope *e, struct relayhost *relayh) r = xcalloc(1, sizeof *r); TAILQ_INIT(&r->tasks); r->id = generate_uid(); + r->dispatcher = dispatcher; r->tls = key.tls; r->flags = key.flags; r->domain = key.domain; -- cgit v1.2.3