diff --git a/dovecot/keyproxy.go b/dovecot/keyproxy.go
index 3156cb4df3f4311e16008f80c9843491ac68e596..628cad9cf42ce1b625e0a069f4fe770e4477a02d 100644
--- a/dovecot/keyproxy.go
+++ b/dovecot/keyproxy.go
@@ -90,6 +90,7 @@ func (s *KeyLookupProxy) Lookup(ctx context.Context, key string) (interface{}, b
 	case strings.HasPrefix(key, "userdb/"):
 		return s.lookupUserdb(ctx, key[7:])
 	default:
+		log.Printf("unknown key %s", key)
 		return nil, false
 	}
 }