main.c (dovecot-2.3.16) | : | main.c (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 330 | skipping to change at line 330 | |||
} | } | |||
int main(int argc, char *argv[]) | int main(int argc, char *argv[]) | |||
{ | { | |||
static const struct setting_parser_info *set_roots[] = { | static const struct setting_parser_info *set_roots[] = { | |||
&pop3_setting_parser_info, | &pop3_setting_parser_info, | |||
NULL | NULL | |||
}; | }; | |||
struct master_login_settings login_set; | struct master_login_settings login_set; | |||
enum master_service_flags service_flags = 0; | enum master_service_flags service_flags = 0; | |||
enum mail_storage_service_flags storage_service_flags = 0; | enum mail_storage_service_flags storage_service_flags = | |||
MAIL_STORAGE_SERVICE_FLAG_NO_SSL_CA; | ||||
const char *username = NULL, *auth_socket_path = "auth-master"; | const char *username = NULL, *auth_socket_path = "auth-master"; | |||
int c; | int c; | |||
i_zero(&login_set); | i_zero(&login_set); | |||
login_set.postlogin_timeout_secs = MASTER_POSTLOGIN_TIMEOUT_DEFAULT; | login_set.postlogin_timeout_secs = MASTER_POSTLOGIN_TIMEOUT_DEFAULT; | |||
if (IS_STANDALONE() && getuid() == 0 && | if (IS_STANDALONE() && getuid() == 0 && | |||
net_getpeername(1, NULL, NULL) == 0) { | net_getpeername(1, NULL, NULL) == 0) { | |||
printf("-ERR [SYS/PERM] pop3 binary must not be started from " | printf("-ERR [SYS/PERM] pop3 binary must not be started from " | |||
"inetd, use pop3-login instead.\n"); | "inetd, use pop3-login instead.\n"); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added |