summaryrefslogtreecommitdiff
path: root/usr.sbin/smtpd/smtpd.h
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2020-01-08 01:41:12 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2020-01-08 01:41:12 +0000
commit54963f0d02b53c9c299531908fdc7ba8cae6c53d (patch)
treeab0f1be0f73ab785e8f1029a381aa5cc87a0d7e4 /usr.sbin/smtpd/smtpd.h
parentd61e434a29d2e7b2f109c16f1e94e2dbcd2669e7 (diff)
allow using the session username in builtin filters when available
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-rw-r--r--usr.sbin/smtpd/smtpd.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 7e59d4d32b2..b1a90d375fe 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.649 2019/12/21 10:40:20 gilles Exp $ */
+/* $OpenBSD: smtpd.h,v 1.650 2020/01/08 01:41:11 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1093,6 +1093,15 @@ struct filter_config {
int8_t not_helo_regex;
struct table *helo_regex;
+ int8_t not_auth;
+ int8_t auth;
+
+ int8_t not_auth_table;
+ struct table *auth_table;
+
+ int8_t not_auth_regex;
+ struct table *auth_regex;
+
int8_t not_mail_from_table;
struct table *mail_from_table;