-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1682 from pbiering/minor-changes
add logging entries for dovecot, adjust for imap
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# This file is part of Radicale Server - Calendar Server | ||
# Copyright © 2014 Giel van Schijndel | ||
# Copyright © 2019 (GalaxyMaster) | ||
# Copyright © 2025-2025 Peter Bieringer <[email protected]> | ||
# | ||
# This library is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
|
@@ -35,9 +36,11 @@ def __init__(self, configuration): | |
if config_family == "AF_UNIX": | ||
self.family = socket.AF_UNIX | ||
self.address = configuration.get("auth", "dovecot_socket") | ||
logger.info("auth dovecot socket: %r", self.address) | ||
return | ||
|
||
self.address = configuration.get("auth", "dovecot_host"), configuration.get("auth", "dovecot_port") | ||
logger.warning("auth dovecot address: %r (INSECURE, credentials are transmitted in clear text)", self.address) | ||
if config_family == "AF_INET": | ||
self.family = socket.AF_INET | ||
else: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters