Fixed dovecot warning.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
"""Dovecot related tools."""
|
||||
|
||||
import glob
|
||||
import os
|
||||
import pwd
|
||||
|
||||
from .. import database
|
||||
@@ -78,7 +79,9 @@ class Dovecot(base.Installer):
|
||||
"modoboa_dbpassword": self.config.get("modoboa", "dbpassword"),
|
||||
"protocols": protocols,
|
||||
"ssl_protocols": ssl_protocols,
|
||||
"radicale_user": self.config.get("radicale", "user")
|
||||
"radicale_user": self.config.get("radicale", "user"),
|
||||
"radicale_auth_socket_path": os.path.basename(
|
||||
self.config.get("dovecot", "radicale_auth_socket_path"))
|
||||
})
|
||||
return context
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ type = radicale_dovecot_auth
|
||||
# Incorrect authentication delay (seconds)
|
||||
#delay = 1
|
||||
|
||||
auth_socket = %{radicale_auth_socket_path}
|
||||
auth_socket = %{auth_socket_path}
|
||||
|
||||
|
||||
[rights]
|
||||
|
||||
@@ -44,7 +44,7 @@ class Radicale(base.Installer):
|
||||
radicale_auth_socket_path = self.config.get(
|
||||
"dovecot", "radicale_auth_socket_path")
|
||||
context.update({
|
||||
"radicale_auth_socket_path": radicale_auth_socket_path
|
||||
"auth_socket_path": radicale_auth_socket_path
|
||||
})
|
||||
return context
|
||||
|
||||
|
||||
Reference in New Issue
Block a user