summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-01-07 22:27:41 +0100
committerErich Eckner <git@eckner.net>2024-01-07 22:27:41 +0100
commit6d76e192f26d601d8634c52e875f3f94cc368e3c (patch)
treeeb69274e0b4617486f93189f1d6e40766d9d5ebb
parent248e31233aabbf07670a0995341fda667f900a23 (diff)
downloadlogwatch-overrides-6d76e192f26d601d8634c52e875f3f94cc368e3c.tar.xz
starttls=1
-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}++;