summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2019-12-21 10:34:08 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2019-12-21 10:34:08 +0000
commit42917f68850b6b51a2000f6c2b922bb5e550adb4 (patch)
treec1101b8aeb2799614e87b6d2b38a7cf971c89eb8 /usr.sbin/smtpd
parent876621ff14aeda0b98cfdc9a75379b412f4c508c (diff)
keep track of the relay action in relays, will be used for smtp-out
reporting
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r--usr.sbin/smtpd/mta.c3
1 files changed, 2 insertions, 1 deletions
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 <pyr@openbsd.org>
@@ -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;