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