Search
j0ke.net Open Build Service
>
Projects
>
server:mail
>
dovecot20
> dovecot-2.0-pigeonhole_pass_config.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File dovecot-2.0-pigeonhole_pass_config.patch of Package dovecot20
diff -r 1a7060ef63ce src/managesieve-login/managesieve-login-settings-plugin.c --- dovecot-2.0-pigeonhole/src/managesieve-login/managesieve-login-settings-plugin.c Mon Sep 06 18:36:25 2010 +0200 +++ dovecot-2.0-pigeonhole/src/managesieve-login/managesieve-login-settings-plugin.c Wed Sep 08 17:21:56 2010 +0100 @@ -7,6 +7,7 @@ #include "env-util.h" #include "fd-close-on-exec.h" #include "execv-const.h" +#include "master-service.h" #include "settings-parser.h" #include "config-parser-private.h" #include "managesieve-login-settings-plugin.h" @@ -124,7 +125,7 @@ } if ( pid == 0 ) { - const char *argv[3]; + const char *argv[5]; /* Child */ (void)close(fd[0]); @@ -136,7 +137,9 @@ argv[0] = PKG_LIBEXECDIR"/managesieve"; argv[1] = "-k"; - argv[2] = NULL; + argv[2] = "-c"; + argv[3] = master_service_get_config_path(master_service); + argv[4] = NULL; execv_const(argv[0], argv); i_fatal("managesieve-login: dump-capability execv(%s) failed: %m", argv[0]);