diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2019-12-21 11:47:35 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2019-12-21 11:47:35 +0000 |
commit | ddddbc8242b8521b332d736eb6797dd909080833 (patch) | |
tree | 96aae401d55144477f8e2ef2488ddefc7253d694 | |
parent | e35985505e48976f7761b27aeeeea06e41c236a7 (diff) |
if a filter was attached to a relay action in config, notify instance that
it can register smtp-out events
-rw-r--r-- | usr.sbin/smtpd/lka_filter.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/lka_filter.c b/usr.sbin/smtpd/lka_filter.c index 2d859eac949..d8d0652b03c 100644 --- a/usr.sbin/smtpd/lka_filter.c +++ b/usr.sbin/smtpd/lka_filter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lka_filter.c,v 1.56 2019/12/21 11:07:38 gilles Exp $ */ +/* $OpenBSD: lka_filter.c,v 1.57 2019/12/21 11:47:34 gilles Exp $ */ /* * Copyright (c) 2018 Gilles Chehade <gilles@poolp.org> @@ -205,6 +205,8 @@ lka_proc_config(struct processor_instance *pi) io_printf(pi->io, "config|smtp-session-timeout|%d\n", SMTPD_SESSION_TIMEOUT); if (pi->subsystems & FILTER_SUBSYSTEM_SMTP_IN) io_printf(pi->io, "config|subsystem|smtp-in\n"); + if (pi->subsystems & FILTER_SUBSYSTEM_SMTP_OUT) + io_printf(pi->io, "config|subsystem|smtp-out\n"); io_printf(pi->io, "config|ready\n"); } |