atom feed6 messages in org.dovecot.dovecotRe: [Dovecot] running imap command line
FromSent OnAttachments
AnilJan 5, 2008 9:39 am 
Bill ColeJan 5, 2008 11:07 am 
AnilJan 5, 2008 11:53 am 
Bill ColeJan 5, 2008 12:27 pm 
AnilJan 5, 2008 12:34 pm 
Timo SirainenJan 5, 2008 2:19 pm 
Subject:Re: [Dovecot] running imap command line
From:Bill Cole (dove@billmail.scconsult.com)
Date:Jan 5, 2008 11:07:12 am
List:org.dovecot.dovecot

At 9:39 AM -0800 1/5/08, Anil wrote:

I am trying to debug some core dump problems. I should be able to run imap by itself right? How to fix?

# ./imap imap(root): Fatal: setgroups() failed: Too many extra groups

I am using latest nightly code.

That error indicates that the root account is a member of too many groups to use the setgroups() system call, at least after Dovecot adds its mail_extra_groups list. Typically systems control that limit with the NGROUPS_MAX or kern.ngroups kernel parameter (depending on the heritage of the specific OS) and the traditional limit is 16, with some systems defaulting to 32. Some systems are held to 32 as an absolute limit.

Some programs deal with that limit by truncating the list of groups provided to setgroups() but that can be a tricky business.