summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2018-06-07 16:28:15 +0000
committerEric Faurot <eric@cvs.openbsd.org>2018-06-07 16:28:15 +0000
commit2985bc9722faba04f08b24c4e7115e2ffd305c2b (patch)
treed4a175ae93236f3448279c3fcd99d89bc04bd542
parentb9c5f4e126dad2a3ad88603b8521e02b9dc4e394 (diff)
remove unused flags and obsolete comments
ok gilles@
-rw-r--r--usr.sbin/smtpd/smtpd.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/usr.sbin/smtpd/smtpd.h b/usr.sbin/smtpd/smtpd.h
index 97b57cec9b7..168975ba780 100644
--- a/usr.sbin/smtpd/smtpd.h
+++ b/usr.sbin/smtpd/smtpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.h,v 1.551 2018/06/06 12:00:26 eric Exp $ */
+/* $OpenBSD: smtpd.h,v 1.552 2018/06/07 16:28:14 eric Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -75,26 +75,23 @@
#define F_STARTTLS 0x01
#define F_SMTPS 0x02
-#define F_TLS_OPTIONAL 0x04
#define F_SSL (F_STARTTLS | F_SMTPS)
#define F_AUTH 0x08
-#define F_BACKUP 0x10 /* XXX - MUST BE SYNC-ED WITH RELAY_BACKUP */
#define F_STARTTLS_REQUIRE 0x20
#define F_AUTH_REQUIRE 0x40
-#define F_LMTP 0x80
#define F_MASK_SOURCE 0x100
#define F_TLS_VERIFY 0x200
#define F_EXT_DSN 0x400
#define F_RECEIVEDAUTH 0x800
#define F_MASQUERADE 0x1000
-/* must match F_* for mta */
+
#define RELAY_STARTTLS 0x01
#define RELAY_SMTPS 0x02
#define RELAY_TLS_OPTIONAL 0x04
#define RELAY_SSL (RELAY_STARTTLS | RELAY_SMTPS)
#define RELAY_AUTH 0x08
-#define RELAY_BACKUP 0x10 /* XXX - MUST BE SYNC-ED WITH F_BACKUP */
+#define RELAY_BACKUP 0x10
#define RELAY_MX 0x20
#define RELAY_LMTP 0x80
#define RELAY_TLS_VERIFY 0x200