Skip to content

Commit 10a79b9

Browse files
authored
Merge pull request #1682 from pbiering/minor-changes
add logging entries for dovecot, adjust for imap
2 parents f9457f0 + 26637a1 commit 10a79b9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

radicale/auth/dovecot.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# This file is part of Radicale Server - Calendar Server
22
# Copyright © 2014 Giel van Schijndel
33
# Copyright © 2019 (GalaxyMaster)
4+
# Copyright © 2025-2025 Peter Bieringer <pb@bieringer.de>
45
#
56
# This library is free software: you can redistribute it and/or modify
67
# it under the terms of the GNU General Public License as published by
@@ -35,9 +36,11 @@ def __init__(self, configuration):
3536
if config_family == "AF_UNIX":
3637
self.family = socket.AF_UNIX
3738
self.address = configuration.get("auth", "dovecot_socket")
39+
logger.info("auth dovecot socket: %r", self.address)
3840
return
3941

4042
self.address = configuration.get("auth", "dovecot_host"), configuration.get("auth", "dovecot_port")
43+
logger.warning("auth dovecot address: %r (INSECURE, credentials are transmitted in clear text)", self.address)
4144
if config_family == "AF_INET":
4245
self.family = socket.AF_INET
4346
else:

radicale/auth/imap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __init__(self, configuration) -> None:
3131
logger.info("auth imap host: %r", self._host)
3232
self._security = self.configuration.get("auth", "imap_security")
3333
if self._security == "none":
34-
logger.info("auth imap security: %s (INSECURE, credentials are transmitted in clear text)", self._security)
34+
logger.warning("auth imap security: %s (INSECURE, credentials are transmitted in clear text)", self._security)
3535
else:
3636
logger.info("auth imap security: %s", self._security)
3737
if self._security == "tls":

0 commit comments

Comments
 (0)