summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--imapd2
1 files changed, 1 insertions, 1 deletions
diff --git a/imapd b/imapd
index b658181..56a2955 100644
--- a/imapd
+++ b/imapd
@@ -53,7 +53,7 @@ while (defined($ThisLine = <STDIN>)) {
# 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}++;