summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2019-12-21 10:34:07 +0000
committergilles <gilles@openbsd.org>2019-12-21 10:34:07 +0000
commitdd6d690a081be0d526735bb6ab9031eb15846d8d (patch)
tree1f5cce55745c196d4a94900329d1ee5522ab81ef /usr.sbin/smtpd
parentdo not pass rdns, fcrdns, ss_src and ss_dest with IMSG_FILTER_SMTP_BEGIN, (diff)
downloadwireguard-openbsd-dd6d690a081be0d526735bb6ab9031eb15846d8d.tar.xz
wireguard-openbsd-dd6d690a081be0d526735bb6ab9031eb15846d8d.zip
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;