diff --git a/opensmtpd/src/entry.rs b/opensmtpd/src/entry.rs index d809cff..c6449c2 100644 --- a/opensmtpd/src/entry.rs +++ b/opensmtpd/src/entry.rs @@ -38,6 +38,7 @@ pub enum Event { LinkDisconnect, LinkIdentify, LinkTls, + LinkReset, TxBegin, TxMail, TxRcpt, @@ -76,6 +77,7 @@ impl ToString for Event { Event::LinkDisconnect => "link-disconnect", Event::LinkIdentify => "link-identify", Event::LinkTls => "link-tls", + Event::LinkReset => "link-reset", Event::TxBegin => "tx-begin", Event::TxMail => "tx-mail", Event::TxRcpt => "tx-rcpt", @@ -197,6 +199,7 @@ fn parse_event(input: &str) -> IResult<&str, Event> { value(Event::LinkDisconnect, tag("link-disconnect")), value(Event::LinkIdentify, tag("link-identify")), value(Event::LinkTls, tag("link-tls")), + value(Event::LinkReset, tag("link-reset")), value(Event::TxBegin, tag("tx-begin")), value(Event::TxMail, tag("tx-mail")), value(Event::TxRcpt, tag("tx-rcpt")),