Skip to content
Snippets Groups Projects
Commit cbdefe73 authored by Timo Sirainen's avatar Timo Sirainen Committed by timo.sirainen
Browse files

managesieve-login: Add srv.<name>/%{pid}-admin unix socket listener

parent 6c414f7a
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,16 @@
#include <sysexits.h>
/* <settings checks> */
static struct file_listener_settings managesieve_login_unix_listeners_array[] = {
{ "srv.managesieve-login/%{pid}", 0600, "", "" },
};
static struct file_listener_settings *managesieve_login_unix_listeners[] = {
&managesieve_login_unix_listeners_array[0],
};
static buffer_t managesieve_login_unix_listeners_buf = {
{ { managesieve_login_unix_listeners,
sizeof(managesieve_login_unix_listeners) } }
};
static struct inet_listener_settings managesieve_login_inet_listeners_array[] = {
{ .name = "sieve", .address = "", .port = MANAGESIEVE_DEFAULT_PORT },
......@@ -54,7 +64,8 @@ struct service_settings managesieve_login_settings_service_settings = {
.idle_kill = 0,
.vsz_limit = (uoff_t)-1,
.unix_listeners = ARRAY_INIT,
.unix_listeners = { { &managesieve_login_unix_listeners_buf,
sizeof(managesieve_login_unix_listeners[0]) } },
.fifo_listeners = ARRAY_INIT,
.inet_listeners = { { &managesieve_login_inet_listeners_buf,
sizeof(managesieve_login_inet_listeners[0]) } }
......
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.