summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/files
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2020-05-20 15:19:16 +0200
committerGuilhem Moulin <guilhem@fripost.org>2020-05-20 15:27:50 +0200
commit1df4c30a95abd9e7c6352e2b3d2766281c3e591d (patch)
tree2a58d180ae474689288979cc9b1850059162a177 /roles/IMAP/files
parent829f4d830aefedd95a75e61cfc9aa3e03f039c6f (diff)
dovecot-auth-proxy: Bump protocol version to 2.2.
This a regression rom 829f4d830aefedd95a75e61cfc9aa3e03f039c6f. There are no relevant interface changes between 2.2.27 (stretch) and 2.3.4 (buster) cf. `git diff 2.2.27..2.3.4 src/lib-dict/dict-client.h` and https://github.com/dovecot/core/commits/2.3.4/src/lib-dict/dict-client.h .
Diffstat (limited to 'roles/IMAP/files')
-rwxr-xr-xroles/IMAP/files/usr/local/bin/dovecot-auth-proxy.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/IMAP/files/usr/local/bin/dovecot-auth-proxy.pl b/roles/IMAP/files/usr/local/bin/dovecot-auth-proxy.pl
index 5b2c74e..350bb2c 100755
--- a/roles/IMAP/files/usr/local/bin/dovecot-auth-proxy.pl
+++ b/roles/IMAP/files/usr/local/bin/dovecot-auth-proxy.pl
@@ -74,7 +74,7 @@ sub server() {
next;
}
# <major-version> <minor-version> <value type>
- unless ($1 == 2 and $2 == 1 and $3 == 0) {
+ unless ($1 == 2 and $2 == 2 and $3 == 0) {
warn "Unsupported protocol version $1.$2 (or value type $3)\n";
close $conn or warn "Can't close: $!";
next;