(e.g. epoll_ctl() gives EPERM). */
if (set->shutdown_clients && !exec_mail)
env_put("STDERR_CLOSE_SHUTDOWN=1");
- (void)umask(set->umask);
+ (void)umask(0077);
env_put(t_strconcat("LOCK_METHOD=", set->lock_method, NULL));
env_put(t_strconcat("MBOX_READ_LOCKS=", set->mbox_read_locks, NULL));
DEF_INT(dbox_rotate_size),
DEF_INT(dbox_rotate_min_size),
DEF_INT(dbox_rotate_days),
- DEF_INT(umask),
DEF_BOOL(mail_drop_priv_before_exec),
DEF_STR(mail_executable),
MEMBER(dbox_rotate_size) 2048,
MEMBER(dbox_rotate_min_size) 16,
MEMBER(dbox_rotate_days) 1,
- MEMBER(umask) 0077,
MEMBER(mail_drop_priv_before_exec) FALSE,
MEMBER(mail_executable) PKG_LIBEXECDIR"/imap",
unsigned int dbox_rotate_size;
unsigned int dbox_rotate_min_size;
unsigned int dbox_rotate_days;
- unsigned int umask;
bool mail_drop_priv_before_exec;
const char *mail_executable;