add missing imsg names
authoreric <eric@openbsd.org>
Fri, 16 Nov 2018 20:55:59 +0000 (20:55 +0000)
committereric <eric@openbsd.org>
Fri, 16 Nov 2018 20:55:59 +0000 (20:55 +0000)
usr.sbin/smtpd/smtpd.c

index 18287e0..061f49b 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: smtpd.c,v 1.305 2018/11/03 08:59:54 gilles Exp $      */
+/*     $OpenBSD: smtpd.c,v 1.306 2018/11/16 20:55:59 eric Exp $        */
 
 /*
  * Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1950,6 +1950,8 @@ imsg_to_str(int type)
        CASE(IMSG_MDA_KILL);
        CASE(IMSG_MDA_OPEN_MESSAGE);
 
+       CASE(IMSG_MFA_SMTP_RESPONSE);
+
        CASE(IMSG_MTA_DELIVERY_OK);
        CASE(IMSG_MTA_DELIVERY_TEMPFAIL);
        CASE(IMSG_MTA_DELIVERY_PERMFAIL);
@@ -2004,6 +2006,20 @@ imsg_to_str(int type)
 
        CASE(IMSG_LKA_PROCESSOR_FORK);
 
+       CASE(IMSG_SMTP_REPORT_LINK_CONNECT);
+       CASE(IMSG_SMTP_REPORT_LINK_DISCONNECT);
+       CASE(IMSG_SMTP_REPORT_LINK_TLS);
+
+       CASE(IMSG_SMTP_REPORT_TX_BEGIN);
+       CASE(IMSG_SMTP_REPORT_TX_ENVELOPE);
+       CASE(IMSG_SMTP_REPORT_TX_COMMIT);
+       CASE(IMSG_SMTP_REPORT_TX_ROLLBACK);
+
+       CASE(IMSG_SMTP_REPORT_PROTOCOL_CLIENT);
+       CASE(IMSG_SMTP_REPORT_PROTOCOL_SERVER);
+
+       CASE(IMSG_SMTP_FILTER);
+
        CASE(IMSG_CA_PRIVENC);
        CASE(IMSG_CA_PRIVDEC);
        default: