diff options
author | gilles <gilles@openbsd.org> | 2019-12-21 10:40:20 +0000 |
---|---|---|
committer | gilles <gilles@openbsd.org> | 2019-12-21 10:40:20 +0000 |
commit | 1733a27bc20c1f1a7f05880a6524aaaa76494f42 (patch) | |
tree | 718e7e6d858c8ba121794b274e162855704d336a /usr.sbin/smtpd | |
parent | keep track of DATA length in mta_session, will be needed for smtp-out (diff) | |
download | wireguard-openbsd-1733a27bc20c1f1a7f05880a6524aaaa76494f42.tar.xz wireguard-openbsd-1733a27bc20c1f1a7f05880a6524aaaa76494f42.zip |
add FILTER_SUBSYSTEM_SMTP_OUT to filter_subsystem enum and add filter name
to struct dispatcher_remote, this will reduce the smtp-out reporting diff
Diffstat (limited to 'usr.sbin/smtpd')
-rw-r--r-- | usr.sbin/smtpd/smtpd.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h index 18c09f2ba74..7e59d4d32b2 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.648 2019/12/21 10:23:37 gilles Exp $ */ +/* $OpenBSD: smtpd.h,v 1.649 2019/12/21 10:40:20 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -1039,7 +1039,8 @@ enum filter_type { }; enum filter_subsystem { - FILTER_SUBSYSTEM_SMTP_IN = 1 + FILTER_SUBSYSTEM_SMTP_IN = 1<<0, + FILTER_SUBSYSTEM_SMTP_OUT = 1<<1, }; struct filter_proc { @@ -1178,6 +1179,8 @@ struct dispatcher_remote { int backup; char *backupmx; + char *filtername; + int srs; }; |