-/* $OpenBSD: lka_filter.c,v 1.72 2023/06/21 17:59:24 op Exp $ */
+/* $OpenBSD: lka_filter.c,v 1.73 2023/07/07 14:52:00 op Exp $ */
/*
* Copyright (c) 2018 Gilles Chehade <gilles@poolp.org>
#include "smtpd.h"
#include "log.h"
-#define PROTOCOL_VERSION "0.6"
+#define PROTOCOL_VERSION "0.7"
struct filter;
struct filter_session;
fs->username = xstrdup(username);
}
report_smtp_broadcast(reqid, direction, tv, "link-auth", "%s|%s\n",
- username, result);
+ result, username);
}
void
-.\" $OpenBSD: smtpd-filters.7,v 1.9 2022/03/31 17:27:31 naddy Exp $
+.\" $OpenBSD: smtpd-filters.7,v 1.10 2023/07/07 14:52:00 op Exp $
.\"
.\" Copyright (c) 2008 Janne Johansson <jj@openbsd.org>
.\" Copyright (c) 2009 Jacek Masiulaniec <jacekm@dobremiasto.net>
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: July 7 2023 $
.Dt SMTPD-FILTERS 7
.Os
.Sh NAME
the cipher suite used by the session and the cipher strength in bits.
.It Ic link-disconnect
This event is generated upon disconnection of the client.
-.It Ic link-auth : Ar username result
+.It Ic link-auth : Ar result username
This event is generated upon an authentication attempt by the client.
.Pp
-.Ar username
-contains the username used for the authentication attempt.
-.Pp
.Ar result
contains the string
.Dq pass ,
or
.Dq error
depending on the result of the authentication attempt.
+.Pp
+.Ar username
+contains the username used for the authentication attempt.
.It Ic tx-reset : Op message-id
This event is generated when a transaction is reset.
.Pp