[Dovecot] imap disconnects on my account only

Chris Wakelin c.d.wakelin at reading.ac.uk
Sat May 28 00:38:35 EEST 2005


Looking at the getgroups manpage on Solaris 8, it seems the limit is 
NGROUPS_MAX which is 16 in this case. The invalid argument return looks 
like it might be :-

"The getgroups() function will fail if:

      EINVAL
            The value of gidsetsize is non-zero and less than  the
            number  of supplementary group IDs set for the calling
            process.
"

but looking at the 0.99.14 code, I can't see how this can happen. My 
guess is that the Fedora version will return EINVAL if the number of 
groups is larger than 16.

If so, this is an OS limit, not a Dovecot one.

Best Wishes,
Chris

Mitch Pirtle wrote:
> I just removed myself from the extra group and I am back in business.
> 
> Does dovecot have a limit to the number of unix groups an account can be in?
> 
> -- Mitch


-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094



More information about the dovecot mailing list