[Dovecot] running imap command line

Bill Cole dovecot-20061108 at billmail.scconsult.com
Sat Jan 5 21:07:12 EET 2008


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.


-- 
Bill Cole
bill at scconsult.com



More information about the dovecot mailing list