str_append(str, " (core not dumped - set mail_drop_priv_before_exec=yes)");
return;
}
+ if (*settings_root->defaults->mail_privileged_group != '\0') {
+ str_append(str, " (core not dumped - mail_privileged_group prevented it)");
+ return;
+ }
#endif
str_append(str, " (core not dumped - is home dir set?)");
return;
if (set->mail_drop_priv_before_exec) {
restrict_access_by_env(TRUE);
/* privileged GID is now only in saved-GID. if we want to
- preserve it accross exec, it needs to be temporarily
- in effective gid */
+ preserve it across exec, it needs to be temporarily
+ in effective gid. unfortunately this also causes kernel
+ to think we're a setgid-program. */
restrict_access_use_priv_gid();
}