Skip to content
Snippets Groups Projects
Commit 01d12efa authored by Timo Sirainen's avatar Timo Sirainen
Browse files

managesieve-login: DOVECONF_SERVICE environment was renamed to DOVECONF_PROTOCOL

parent 11f38418
No related branches found
No related tags found
No related merge requests found
...@@ -115,8 +115,8 @@ static bool capability_dump(void) ...@@ -115,8 +115,8 @@ static bool capability_dump(void)
(config and doveconf processes) and managesieve process (started (config and doveconf processes) and managesieve process (started
from command line). We especially don't want to dump capability from command line). We especially don't want to dump capability
every time when running doveadm. */ every time when running doveadm. */
const char *service = getenv("DOVECONF_SERVICE"); const char *protocol = getenv("DOVECONF_PROTOCOL");
if (service != NULL && strcmp(service, "sieve") != 0) if (protocol != NULL && strcmp(protocol, "sieve") != 0)
return TRUE; return TRUE;
if ( pipe(fd) < 0 ) { if ( pipe(fd) < 0 ) {
i_error("managesieve-login: dump-capability pipe() failed: %m"); i_error("managesieve-login: dump-capability pipe() failed: %m");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.