diff options
author | gilles <gilles@openbsd.org> | 2019-12-21 10:34:07 +0000 |
---|---|---|
committer | gilles <gilles@openbsd.org> | 2019-12-21 10:34:07 +0000 |
commit | dd6d690a081be0d526735bb6ab9031eb15846d8d (patch) | |
tree | 1f5cce55745c196d4a94900329d1ee5522ab81ef /usr.sbin/smtpd | |
parent | do not pass rdns, fcrdns, ss_src and ss_dest with IMSG_FILTER_SMTP_BEGIN, (diff) | |
download | wireguard-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.c | 3 |
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; |