diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2013-10-30 21:37:49 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2013-10-30 21:37:49 +0000 |
commit | 496abbc7cb241944aedd953ac7f2d1f0eb334488 (patch) | |
tree | db9ba1dcb57d4d0b0c35b01bbbed923a7beafd3a /usr.sbin/smtpd/smtpd.h | |
parent | 737874eed6d00bb00479fb5cb44543382033dcca (diff) |
add "smtpctl show relays" and "smtpctl show hosts" commands
Diffstat (limited to 'usr.sbin/smtpd/smtpd.h')
-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 9b9cd7d1eb4..3baddd8f243 100644 --- a/usr.sbin/smtpd/smtpd.h +++ b/usr.sbin/smtpd/smtpd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: smtpd.h,v 1.431 2013/10/29 17:04:46 eric Exp $ */ +/* $OpenBSD: smtpd.h,v 1.432 2013/10/30 21:37:48 eric Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org> @@ -151,7 +151,7 @@ union lookup { * Bump IMSG_VERSION whenever a change is made to enum imsg_type. * This will ensure that we can never use a wrong version of smtpctl with smtpd. */ -#define IMSG_VERSION 6 +#define IMSG_VERSION 7 enum imsg_type { IMSG_NONE, @@ -178,6 +178,8 @@ enum imsg_type { IMSG_CTL_PROFILE, IMSG_CTL_UNPROFILE, + IMSG_CTL_MTA_SHOW_HOSTS, + IMSG_CTL_MTA_SHOW_RELAYS, IMSG_CTL_MTA_SHOW_ROUTES, IMSG_CTL_MTA_SHOW_HOSTSTATS, @@ -190,6 +192,7 @@ enum imsg_type { IMSG_CONF_RULE_SOURCE, IMSG_CONF_RULE_SENDER, IMSG_CONF_RULE_DESTINATION, + IMSG_CONF_RULE_RECIPIENT, IMSG_CONF_RULE_MAPPING, IMSG_CONF_RULE_USERS, IMSG_CONF_FILTER, |