Package: imapproxy
Version: 1.2.3-1sarge1
Severity: minor
When imapproxy connects to an imap server using TLS, it logs the message
'Doing a peer verify' when verifying the server's certificate. The
message is logged at LOG_ERROR, but it should be LOG_INFO or even
LOG_DEBUG. I attach a patch that changes this.
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages imapproxy depends on:
ii debconf 1.4.30.13 Debian configuration management sy
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libncurses5 5.4-4 Shared libraries for terminal hand
ii libssl0.9.7 0.9.7e-3sarge1 SSL shared libraries
ii libwrap0 7.6.dbs-8 Wietse Venema's TCP wrappers libra
-- debconf information:
imapproxy/imap-server: localhost
diff -u up-imapproxy-1.2.3/src/main.c up-imapproxy-1.2.3/src/main.c
--- up-imapproxy-1.2.3/src/main.c
+++ up-imapproxy-1.2.3/src/main.c
@@ -1083,7 +1083,7 @@
int err;
int depth;
- syslog(LOG_ERR,"Doing a peer verify");
+ syslog(LOG_INFO,"Doing a peer verify");
err_cert = X509_STORE_CTX_get_current_cert(ctx);
err = X509_STORE_CTX_get_error(ctx);