From 6d76e192f26d601d8634c52e875f3f94cc368e3c Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 7 Jan 2024 22:27:41 +0100 Subject: starttls=1 --- imapd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imapd b/imapd index b658181..56a2955 100644 --- a/imapd +++ b/imapd @@ -53,7 +53,7 @@ while (defined($ThisLine = )) { # Don't care about these... } elsif ( ($User, $Host) = ( $ThisLine =~ /^Login user=(.*?) host=(.*\[.*\])$/ ) ) { $Login{$User}{$Host}++; - } elsif ( ($User, $Host) = ( $ThisLine =~ /^LOGIN, user=(.*?), ip=\[([^ ,]+)\](?:, port=\[\d+\])?, protocol=IMAP$/o ) ) { + } elsif ( ($User, $Host) = ( $ThisLine =~ /^LOGIN, user=(.*?), ip=\[([^ ,]+)\](?:, port=\[\d+\])?, protocol=IMAP, starttls=1$/o ) ) { $Login{$User}{$Host}++; } elsif ( ($User,$Host) = ( $ThisLine =~ /^Authenticated user=(.*) host=(.*\[.*\]).*$/ ) ) { $Login{$User}{$Host}++; -- cgit v1.2.3-70-g09d2